/* === 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #23324D;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #23324D;
  transition: color 0.25s;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}

/* ===== Brand Variables ===== */
:root {
  --brand-primary: #23324D;
  --brand-secondary: #A1B1C7;
  --brand-accent: #E5E8EC;
  --creative-magenta: #DB307F;
  --creative-turqoise: #10CCCF;
  --creative-orange: #FF7E47;
  --creative-yellow: #FFE25F;
  --creative-green: #14C38E;
  --header-bg: #fff;
  --footer-bg: #23324D;
  --footer-color: #fff;
  --shadow-lg: 0 12px 32px rgba(35,50,77,0.10);
  --shadow-md: 0 4px 24px rgba(35,50,77,0.13);
  --border-radius-lg: 26px;
  --border-radius-md: 18px;
  --border-radius-sm: 10px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* === Typography Scale === */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--brand-primary);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--brand-primary);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.24;
  margin-bottom: 10px;
  color: var(--creative-magenta);
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-primary);
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--brand-primary);
  line-height: 1.65;
}

.price {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 13px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--creative-orange);
  background: rgba(255,126,71,0.08);
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}

strong {
  font-weight: 700;
}

/* --- Artistic Heading Decorations --- */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  border-radius: 4px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--creative-magenta), var(--creative-turqoise), var(--creative-orange));
  opacity: 0.37;
}

/* === Layout and Container === */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-family: var(--font-display);
}
.footer-nav {
  margin-bottom: 8px;
}

/* === Section and Spacing Patterns === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--border-radius-lg);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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(--brand-accent);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 275px;
  font-size: 1.08rem;
  color: #222;
}
.testimonial-card p {
  color: #222;
}
.testimonial-meta {
  margin-left: 10px;
  font-size: 0.98em;
  font-style: italic;
  color: var(--brand-primary);
  font-family: var(--font-body);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* === Artistic Cards and Service Features === */
.service-feature {
  background: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 20px rgba(219,48,127,0.055), 0 1px 4px rgba(16,204,207,0.09);
  padding: 32px 20px 24px 20px;
  margin-bottom: 24px;
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-left: 6px solid var(--creative-magenta);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-feature:hover {
  box-shadow: 0 12px 32px rgba(16,204,207,0.13), 0 4px 24px rgba(255,126,71,0.09);
  transform: translateY(-3px) scale(1.025) rotate(-1deg);
  border-left-color: var(--creative-turqoise);
}
.service-feature img {
  height: 46px;
  width: 46px;
  margin-bottom: 2px;
  filter: drop-shadow(0px 2px 4px rgba(16,204,207,0.07));
}

/* === Buttons === */
.cta-btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--creative-magenta);
  color: #fff;
  border: none;
  border-radius: 40px;
  box-shadow: 0 2px 12px rgba(219,48,127,0.12);
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.01em;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--creative-turqoise);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.04);
}

/* === Header and Navigation === */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 98;
  background: var(--header-bg);
  box-shadow: 0 1px 6px rgba(16,204,207,0.06);
  padding-bottom: 4px;
  margin-bottom: 25px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  padding: 9px 0;
  color: var(--brand-primary);
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--creative-magenta);
  border-bottom: 2px solid var(--creative-turqoise);
}

/* Hide main nav on mobile, show on desktop */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
}

/* Header brand logo */
header img {
  height: 46px;
}

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding: 6px 15px;
  background: none;
  border: none;
  color: var(--creative-magenta);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
  margin-left: 10px;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-accent);
  color: var(--creative-turqoise);
}

@media (min-width: 981px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 410px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(35,50,77,0.15);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.77,0.21,0.46,1.01);
  padding: 38px 26px 18px 28px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--brand-accent);
  border: none;
  color: var(--creative-magenta);
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--creative-magenta);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: var(--font-display);
  width: 100%;
}
.mobile-nav a {
  padding: 13px 0;
  font-size: 1.25rem;
  color: var(--brand-primary);
  border-radius: 10px;
  background: none;
  transition: background 0.13s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--creative-turqoise);
  color: #fff;
}

@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === Footer === */
footer {
  width: 100%;
  padding: 40px 0 13px 0;
  background: var(--footer-bg);
  color: var(--footer-color);
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  margin-top: 32px;
  box-shadow: 0 -4px 16px rgba(35,50,77,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--footer-color);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  padding: 4px 13px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--creative-magenta);
  color: #fff !important;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.97em;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.footer-brand img {
  width: 39px;
  height: auto;
}

/* === Artistic Elements === */
section {
  position: relative;
  overflow: hidden;
}
section::before, section::after {
  content: "";
  display: block;
  position: absolute;
  top: -28px;
  left: -28px;
  width: 90px;
  height: 90px;
  opacity: 0.06;
  border-radius: 70% 40% 44% 70%/50% 70% 50% 36%;
  background: var(--creative-turqoise);
  pointer-events: none;
  z-index: 0;
}
section::after {
  left: auto;
  top: auto;
  right: -36px;
  bottom: -40px;
  width: 62px;
  height: 62px;
  background: var(--creative-magenta);
  opacity: 0.09;
}

/* Remove section background from text-only sections */
.text-section, .content-wrapper.text-section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 26px 6px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 4px;
  }
  .feature-item, .service-feature {
    min-width: 90vw;
    width: 100%;
    padding: 14px 8px 16px 14px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.32rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 18px;
  }
}

/* === Animations and Micro-interactions === */
.cta-btn, .footer-nav a, .main-nav a, .mobile-nav a, .service-feature, .testimonial-card {
  transition: background 0.18s, color 0.19s, box-shadow 0.18s, border-color 0.15s, transform 0.18s;
}

/* Icon floating animation for artistic effect on service features */
.service-feature img {
  animation: floaticon 3s ease-in-out infinite alternate;
}
@keyframes floaticon {
  0% { transform: translateY(0) rotate(-2.5deg); }
  60% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(5px) rotate(0deg); }
}

/* Shadow hover transition for testimonial cards */
.testimonial-card:hover {
  box-shadow: 0 7px 18px rgba(219,48,127,0.11), 0 1px 6px rgba(16,204,207,0.08);
  transform: scale(1.03) rotate(-0.7deg);
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--creative-magenta);
  box-shadow: 0 -8px 36px rgba(219,48,127,0.08), 0 -2px 14px rgba(16,204,207,0.06);
  z-index: 1080;
  padding: 18px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
.cookie-banner p {
  color: #333;
  font-size: 1em;
  max-width: 620px;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05em;
  margin: 0 2px;
  cursor: pointer;
  background: var(--creative-turqoise);
  color: #fff;
  transition: background 0.14s, color 0.14s;
  box-shadow: 0 1px 7px rgba(16,204,207,0.11);
}
.cookie-btn.accept {
  background: var(--creative-magenta);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--creative-orange);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.07);
  box-shadow: 0 2px 11px rgba(255,126,71,0.10);
}

/* == Cookie Preferences Modal == */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,50,77, 0.30);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 16px 40px rgba(35,50,77,0.13);
  padding: 33px 23px 28px 23px;
  width: 90vw;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1102;
  animation: modalpop 0.25s cubic-bezier(0.61, 1.25, 0.77, 1.01);
}
@keyframes modalpop {
  0% { transform: scale(0.88) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--creative-magenta);
  font-size: 1.22em;
}
.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.6em;
  color: var(--creative-magenta);
  cursor: pointer;
  transition: color 0.15s;
}
.modal-close-btn:hover {
  color: var(--creative-turqoise);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
  color: var(--brand-primary);
}
.cookie-category label {
  font-weight: 600;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--creative-turqoise);
  width: 18px;
  height: 18px;
}
.cookie-category input[disabled] {
  filter: opacity(0.55);
}

/* Modal action buttons */
.cookie-modal .cookie-buttons {
  justify-content: flex-end;
  margin-top: 10px;
}

/* === Utility & Misc === */
::-webkit-scrollbar {
  width: 9px;
  background: var(--brand-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 8px;
}

/* Divider for philosophy and text blocks */
.text-section > ul {
  margin-top: 10px;
  padding-left: 19px;
}
.text-section > ul li {
  margin-bottom: 6px;
  list-style-type: "• ";
  color: var(--creative-magenta);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.text-section > p {
  margin-bottom: 5px;
}

/* === Focus States for A11y === */
a, button, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .modal-close-btn {
  outline: none;
  box-shadow: none;
}
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible, .modal-close-btn:focus-visible {
  outline: 2.5px solid var(--creative-turqoise);
  outline-offset: 2px;
}

/* === NOSCRIPT MESSAGE (Optional) === */
.noscript-warning {
  background: var(--creative-yellow);
  color: #23324D;
  text-align: center;
  padding: 13px 0;
  font-family: var(--font-display);
  font-size: 1.1em;
  font-weight: bold;
}

/* === Thank you extra artistic effect === */
.thank-you-icon {
  display: block;
  margin: 0 auto 14px auto;
  width: 56px;
  height: 56px;
  border-radius: 100%;
  background: linear-gradient(132deg, var(--creative-turqoise) 60%, var(--creative-magenta) 100%);
  box-shadow: 0 4px 16px rgba(16,204,207,0.04);
  animation: floaticon 2.1s cubic-bezier(0.61, 1.1, 0.62, 1.04) infinite alternate;
}

/* --- Custom Artistic Font (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* === END === */
