/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F6F9;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #E77B89;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #314155;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #314155;
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
.subheadline {
  font-size: 1.25rem;
  color: #314155;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
}
strong {
  font-weight: 800;
  color: #E77B89;
  letter-spacing: 0.02em;
}

/* LAYOUT COMPONENTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 16px 0 rgba(49,65,85,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 9px 0 rgba(49,65,85,0.10);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within { box-shadow: 0 6px 24px 0 rgba(49,65,85,0.19); transform: translateY(-4px); }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero-section {
  background: #E77B89;
  padding: 64px 0 72px 0;
  min-height: 320px;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px 0 rgba(49,65,85,0.13);
  position: relative;
}
.hero-section .container {
  align-items: center;
}
.hero-section h1,
.hero-section .subheadline {
  color: #fff;
}
.hero-section .cta-button {
  background: #fff;
  color: #E77B89;
  border: 2px solid #fff;
}
.hero-section .cta-button:hover, .hero-section .cta-button:focus {
  background: #F7F6F9;
  color: #314155;
  border-color: #F7F6F9;
}

/* BUTTONS */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #E77B89;
  color: #fff;
  font-weight: 800;
  padding: 14px 34px;
  border: none;
  border-radius: 32px;
  font-size: 1.15rem;
  letter-spacing: 1px;
  box-shadow: 0 3px 14px 0 rgba(231,123,137,0.09);
  transition: background 0.2s, color 0.2s, transform 0.17s, box-shadow 0.17s;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: #314155;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 28px 0 rgba(49,65,85,0.19);
  text-decoration: none;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  background: none;
  padding: 20px 0;
  font-size: 1.08rem;
}
.main-nav a {
  padding: 6px 8px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #314155;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 1;
}
.main-nav a.cta-button {
  margin-left: auto;
  letter-spacing: 0.5px;
}
.main-nav a:not(.cta-button):hover, .main-nav a:not(.cta-button):focus {
  background: #E77B89;
  color: #fff;
}
header {
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(49,65,85,0.09);
  z-index: 30;
  position: relative;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #E77B89;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 26px;
  z-index: 1002;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #314155;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(49,65,85,0.94);
  z-index: 1005;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7,0.2,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 30px 0 12px 20px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1007;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #E77B89; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100vw;
  padding: 20px 46px 40px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
  padding: 16px 4px 8px 4px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E77B89;
  background: #fff2f6;
}

@media (max-width: 1020px) {
  .main-nav { gap: 22px; font-size: 1.04rem; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; padding: 0 8px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 820px) {
  .main-nav a:not(.cta-button), .main-nav a.cta-button { font-size: 0.98rem; }
  .main-nav a.cta-button { padding: 10px 16px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero-section { padding: 38px 0 48px 0; border-radius: 0 0 26px 26px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 24px 7vw; margin-bottom: 40px; }
  .content-wrapper { gap: 16px; }
  .text-section, .content-wrapper { gap: 14px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .text-image-section { flex-direction: column; gap: 18px; }
}

@media (max-width: 520px) {
  .section { padding: 15px 2vw; border-radius: 14px; }
  .hero-section { border-radius: 0 0 13px 13px; }
  .footer-nav { flex-direction: column; gap: 10px; }
}

/* CARDS & FEATURE ELEMENTS */
.service-card, .testimonial-card, .card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 9px 0 rgba(49,65,85,0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding: 30px 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover, .card:hover {
  box-shadow: 0 6px 22px 0 rgba(231,123,137,0.11);
  transform: translateY(-3px) scale(1.02);
}
.service-benefit {
  background: #E77B89;
  color: #fff;
  padding: 8px 16px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 6px;
  letter-spacing: 0.2px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 16px;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(49,65,85,0.07);
}
thead th {
  background: #314155;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
  padding: 16px 10px;
  letter-spacing:0.8px;
  border-bottom: 3px solid #E77B89;
}
tbody td {
  padding: 15px 10px;
  font-size: 1.06rem;
  border-bottom: 1px solid #E3E3E3;
  color: #314155;
  font-weight: 600;
}
tbody tr:last-child td { border-bottom: none; }
@media (max-width: 650px) {
  table, tbody, thead, tr, td, th {
    display: block;
    width: 100%;
  }
  thead { display: none; }
  tbody td {
    padding: 10px 4px;
    font-size: 0.98rem;
    border: none;
    border-bottom: 1px solid #E3E3E3;
  }
}

/* LISTS, UL/OL */
ul, ol {
  margin-left: 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
li {
  font-size: 1rem;
  color: #314155;
  letter-spacing: 0.03em;
  font-weight: 600; 
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F6F9;
  border-left: 6px solid #E77B89;
  box-shadow: 0 2px 10px 0 rgba(49,65,85,0.06);
  border-radius: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 700px;
  color: #222;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #2B2B2B;
  font-weight: 700;
}
.testimonial-meta {
  font-size: 0.95rem;
  color: #314155;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.star-rating {
  font-size: 1.25rem;
  color: #E77B89;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: auto;
  font-weight: bold;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .testimonial-card { flex-direction: column; gap: 10px; padding: 15px; }
}

/* FOOTER */
footer {
  background: #314155;
  color: #fff;
  padding: 40px 0 15px 0;
  box-shadow: 0 -4px 24px 0 rgba(49,65,85,0.08);
  position: relative;
  margin-top: 70px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.16s;
  text-decoration: underline;
}
.footer-nav a:hover, .footer-nav a:focus { color: #E77B89; }
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.footer-branding img {
  height: 36px;
  margin-bottom: 4px;
}
.footer-branding div {
  color: #E77B89;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 650px) {
  .footer-nav { flex-direction: column; gap: 13px; }
  footer { padding: 28px 0 10px 0; }
  .footer-branding img { height: 25px; }
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 18px 0 rgba(49,65,85,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1500;
  padding: 23px 16px 16px 16px;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.33s;
}
#cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner-message {
  font-size: 1.07rem;
  color: #314155;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  background: #E77B89;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  margin-top: 2px;
}
.cookie-btn.reject {
  background: #314155;
  color: #fff;
}
.cookie-btn.settings {
  background: #F7F6F9;
  color: #314155;
  border: 2px solid #E77B89;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #E77B89;
  border: 2px solid #E77B89;
}
.cookie-btn.settings:hover {
  background: #E77B89;
  color: #fff;
  border: 2px solid #E77B89;
}
@media (max-width: 600px) {
  #cookie-banner { padding: 17px 4vw; gap: 10px; }
  .cookie-banner-buttons { flex-direction: column; gap: 10px; }
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 280px;
  max-width: 95vw;
  background: #fff;
  padding: 34px 24px 26px 24px;
  border-radius: 26px;
  box-shadow: 0 10px 40px 0 rgba(49,65,85,0.28);
  z-index: 3000;
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 21px;
  transition: opacity 0.28s, transform 0.28s;
  pointer-events: auto;
}
#cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%) scale(0.91);
}
.cookie-modal-header {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E77B89;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: left;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category strong {
  color: #314155;
  font-size: 1.02rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F7F6F9;
  border-radius: 12px;
  position: relative;
  outline: none;
  margin-left: 10px;
  border: 2px solid #E77B89;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #E77B89;
  border-color: #E77B89;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.5px 2px rgba(49,65,85,0.11);
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 19px;
  background: #fff;
}
.cookie-category[aria-disabled="true"] .cookie-toggle {
  pointer-events: none;
  opacity: 0.7;
  background: #ececec;
  border: 2px solid #b1b1b1;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 19px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 100px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #E77B89;
  cursor: pointer;
  transition: color 0.16s;
  padding: 0;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #314155; }

/* Animations & Micro-interactions */
.card, .service-card, .cta-button, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.14s, background 0.13s, color 0.13s;
}
.cta-button:active {
  transform: scale(0.98); box-shadow: 0 1px 8px 0 rgba(49,65,85,0.11);
}
@keyframes slideInMenu {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* MISC UTILITIES */
.hide { display: none !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* GEOMETRIC SHAPES / ACCENTS */
.section:before {
  content: '';
  display: block;
  width: 41px;
  height: 7px;
  background: #E77B89;
  border-radius: 18px;
  margin-bottom: 18px;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 520px) {
  .section:before { width: 25px; height: 5px; margin-bottom: 9px; }
}

/* LOAD FONTS */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
  font-display: swap;
}
