/* RESET & NORMALIZE */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body, h1, h2, h3, h4, h5, h6, p, blockquote, ul, ol, li, figure, figcaption, table, th, td, hr { margin: 0; padding: 0; font-weight: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; background: transparent; }
img, picture, video { max-width: 100%; display: block; border: 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 12px 8px; }

/* BASE FONTS, COLORS, & VARIABLES */
:root {
  --color-primary: #072D4A;
  --color-secondary: #C5AA6A;
  --color-accent: #F8F9FA;
  --color-pastel-blue: #B9E1EF;
  --color-pastel-pink: #FDE4EF;
  --color-pastel-yellow: #FFF8DB;
  --color-pastel-green: #D4FFE2;
  --color-highlight: #E2EAF2;
  --color-shadow: rgba(49, 69, 100, 0.10);
  --color-neutral-900: #111;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', Arial, sans-serif;
}
html {
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}
body {
  background: linear-gradient(135deg, #FDE4EF 0%, #B9E1EF 100%);
  min-height: 100vh;
  color: var(--color-primary);
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(200,200,220,0.07);
}
h2, .h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
}
h4, .h4 {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
}
p {
  font-size: 1.12rem;
  color: var(--color-primary);
  line-height: 1.8;
  margin-bottom: 16px;
}
blockquote {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  background: var(--color-pastel-yellow);
  border-left: 5px solid var(--color-secondary);
  padding: 16px 24px;
  margin: 16px 0;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
cite {
  display: block;
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 8px;
  font-style: italic;
}
strong { color: var(--color-primary); font-weight: 700; }
em { color: var(--color-secondary); font-style: italic; }
ul, .ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 18px;
}
ul li, ol li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
hr {
  border: none;
  border-top: 1.5px solid var(--color-highlight);
  margin: 32px 0 24px;
}

a { transition: color 0.2s; color: var(--color-primary); }
a:hover, a:focus { color: var(--color-secondary); }

/* CONTAINERS AND FLEX LAYOUTS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  background: rgba(255,255,255,0.72);
  border-radius: 28px;
  box-shadow: 0 8px 36px var(--color-shadow);
  padding: 32px 28px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARD PATTERNS & FLEXBOX STRUCTURES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 6px 36px rgba(80,110,170,0.14), 0 1.5px 6px rgba(200,200,220,0.1);
  transform: translateY(-4px) scale(1.03);
}
.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;
  background: var(--color-pastel-blue);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 28px var(--color-shadow);
  transition: box-shadow 0.22s, transform 0.18s;
  font-size: 1.13rem;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  margin: 0;
  padding: 0;
  color: var(--color-primary);
}
.testimonial-card cite {
  color: var(--color-primary);
}
.testimonial-card img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TABLE STYLES (Services Table) */
table thead {
  background: var(--color-pastel-blue);
}
table th {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
}
table td {
  background: rgba(255,255,255,0.60);
  border-bottom: 1px solid var(--color-highlight);
  color: var(--color-primary);
}
table tr:last-child td {
  border-bottom: none;
}
table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--color-shadow);
}

/* HEADER & NAV */
header {
  background: linear-gradient(99deg, #FDE4EF 60%, #B9E1EF 100%);
  padding: 0 0 18px 0;
  box-shadow: 0 3px 24px rgba(97,140,200,0.07);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding: 16px 20px 0 20px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 8px 14px;
  border-radius: 24px;
  color: var(--color-primary);
  transition: background 0.16s, color 0.18s, box-shadow 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
  box-shadow: 0 1.5px 6px var(--color-shadow);
}
.cta-button {
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.12rem;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  margin-left: 14px;
  box-shadow: 0 3px 16px var(--color-shadow);
  letter-spacing: 0.5px;
  transition: background 0.20s, transform 0.18s, box-shadow 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary) !important;
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(170,170,190,0.13);
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 8px rgba(190,140,208,0.07));
  opacity: 0.85;
  transition: opacity 0.17s, filter 0.17s;
}
.social-icons img:hover {
  opacity: 1;
  filter: none;
}

/* FOOTER */
footer {
  margin-top: 52px;
  background: linear-gradient(101deg, #FDE4EF 80%, #B9E1EF 100%);
  box-shadow: 0 -4px 32px rgba(97,140,200,0.07);
  border-radius: 24px 24px 0 0;
  padding: 24px 0 18px 0;
  position: relative;
  z-index: 1;
}
footer .container {
  display: flex;
}
footer .content-wrapper {
  align-items: center;
  gap: 16px;
  flex-direction: column;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
footer nav a {
  font-size: 0.99rem;
  color: var(--color-primary);
  opacity: 0.85;
  margin: 0 6px;
  transition: color 0.18s, opacity 0.18s;
}
footer nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
footer p {
  font-size: 0.96rem;
  color: var(--color-primary);
  opacity: 0.85;
  margin-top: 6px;
}

/* ICONS IN LISTS */
ul li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 7px;
  flex-shrink: 0;
}

/* BUTTON STYLES */
button, .button {
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 10px 24px;
  border-radius: 24px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1.5px 8px var(--color-shadow);
  transition: background 0.15s, color 0.16s, transform 0.16s;
}
button:hover, button:focus, .button:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: scale(1.03);
}

/* HAMBURGER MENU – MOBILE NAV */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1201;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: background 0.20s, transform 0.15s;
}
.mobile-menu-toggle:active {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(249,249,255,0.95);
  box-shadow: 0 2px 24px var(--color-shadow);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.84,0,.14,1);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  border: none;
  z-index: 2;
  cursor: pointer;
  padding: 0 8px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background 0.19s, color 0.15s;
  box-shadow: 0 1.5px 8px var(--color-shadow);
}
.mobile-menu-close:hover, .mobile-menu-close:focus { 
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin-top: 70px;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-primary);
  padding: 14px 0;
  border-radius: 16px;
  min-width: 190px;
  transition: background 0.19s, color 0.13s, box-shadow 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
  box-shadow: 0 2px 14px var(--color-shadow);
}

/* Only show hamburger on mobile */
@media (max-width: 1050px) {
  header nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* Main section spacing */
main {
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Responsive FLex Patterns */
@media (max-width: 900px) {
  .content-wrapper { padding: 22px 10px; }
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  header .container { flex-direction: column; gap: 14px; }
  .content-wrapper { padding: 16px 2vw; }
  .section { margin-bottom: 40px; padding: 24px 7px; }
  .content-grid, .card-container, .features {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.45rem; }
  p, ul li, ol li { font-size: 1.04rem; }
}

/* Micro-interactions & Soft Hover Effects */
a, button, .cta-button, .card, .testimonial-card, .mobile-menu-close, .mobile-menu-toggle {
  outline: none;
  transition: box-shadow 0.19s, background 0.19s, color 0.19s, transform 0.16s;
}
a:focus, .cta-button:focus, button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px var(--color-secondary),0 2px 16px var(--color-shadow);
}

/* Utility Classes */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.gap-24 { gap: 24px; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: linear-gradient(90deg, var(--color-pastel-blue) 80%, var(--color-pastel-pink));
  box-shadow: 0 -2px 20px var(--color-shadow);
  padding: 22px 18px 18px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 80px;
  font-size: 1.09rem;
  border-radius: 18px 18px 0 0;
  animation: cookie-fadein 0.6s cubic-bezier(.95,0,.25,1);
}
@keyframes cookie-fadein {
  from { transform: translateY(48px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: var(--color-primary);
  flex: 1 1 320px;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
}
.cookie-banner__button {
  padding: 10px 18px;
  border-radius: 22px;
  border: none;
  font-size: 1.01rem;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 1.5px 6px var(--color-shadow);
  transition: background 0.17s, color 0.14s;
}
.cookie-banner__button--accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
}
.cookie-banner__button--accept:hover, .cookie-banner__button--accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner__button--reject {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner__button--reject:hover, .cookie-banner__button--reject:focus {
  background: var(--color-pastel-pink);
  color: var(--color-secondary);
}
.cookie-banner__button--settings {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
.cookie-banner__button--settings:hover, .cookie-banner__button--settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(9,27,39,0.36);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 24px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 40px var(--color-shadow);
  padding: 32px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-popup 0.35s cubic-bezier(.71,1.33,.5,1);
  position: relative;
}
@keyframes cookie-popup {
  0% { transform: scale(0.75) translateY(32px); opacity: 0; }
  70% { transform: scale(1.07) translateY(-3px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.15s, color 0.12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 600;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  background: var(--color-pastel-blue);
  padding: 10px 18px;
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-category__label {
  flex: 1;
}
.cookie-category__switch {
  position: relative;
  width: 36px;
  height: 20px;
  display: inline-flex;
  align-items: center;
}
.cookie-category__switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category__slider {
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 20px;
  background: #e5e6f2;
  border-radius: 12px;
  transition: background .15s;
}
.cookie-category__switch input:checked + .cookie-category__slider {
  background: var(--color-secondary);
}
.cookie-category__slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
}
.cookie-category__switch input:checked + .cookie-category__slider:before {
  transform: translateX(16px);
}
.cookie-category__mandatory {
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-style: italic;
  padding-left: 7px;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* Pastel Selectors for ctas and focus */
.cta-button, .cookie-banner__button, .cookie-modal__actions button {
  box-shadow: 0 2px 14px var(--color-shadow);
}

/* Miscellaneous minor styles for details table or icons */
th, td {
  font-size: 1.04rem;
}
td em {
  color: var(--color-secondary);
}

div[role='dialog'] { z-index: 3000; }

::-webkit-input-placeholder { color: #7c91aa; }
:-ms-input-placeholder { color: #7c91aa; }
::placeholder { color: #7c91aa; opacity: 1; }

/* Hide outlines except for keyboard */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-secondary);
}

/* =======================
   SOFT PASTEL THEMING
======================== */
.section {
  background: linear-gradient(99deg, #FFF8DB 65%, #B9E1EF 100%);
  border-radius: 22px;
  box-shadow: 0 3px 30px var(--color-shadow);
}
.card {
  background: linear-gradient(99deg, #FFF8DB 55%, #FDE4EF 100%);
}
.text-section, .testimonial-card, .content-wrapper {
  background: linear-gradient(101deg, #FFF8DB 70%, #D4FFE2 100%);
}
header, footer {
  background: linear-gradient(101deg, #FDE4EF 70%, #B9E1EF 100%);
}

/* ===============================
*   END OF CSS                    *
============================ */
