/* 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;
}
html { height: 100%; font-size: 16px; }
body { height: 100%; line-height: 1.5; background: #F3F0EC; color: #232A35; font-family: 'Open Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: 100%;
}
button, a {
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

/* COLOR VARIABLES */
:root {
  --primary: #232A35;
  --secondary: #E3AF49;
  --accent: #F3F0EC;
  --electric-blue: #146CFA;
  --electric-pink: #FF2785;
  --energetic-purple: #A347FF;
  --energetic-cyan: #22D2C8;
  --white: #fff;
  --shadow: 0 4px 24px rgba(35,42,53,0.08), 0 2px 8px rgba(35,42,53,0.04);
}

/* CONTAINER AND SPACING */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  gap: 24px;
      flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 32px 24px;
  flex: 1 1 260px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(35,42,53,0.19), 0 3px 12px rgba(227,175,73,0.08);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(35,42,53,0.09);
  margin-bottom: 20px;
  flex: 1 1 310px;
  min-width: 275px;
  max-width: 420px;
  color: #222;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(255,39,133,0.09), 0 4px 16px rgba(20,108,250,0.05);
  background: #fffbea;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.service-grid > div {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 28px 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.service-grid > div:hover {
  box-shadow: 0 8px 36px rgba(20,108,250,0.13), 0 4px 20px rgba(255,39,133,0.06);
  transform: translateY(-4px) scale(1.024);
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -0.01em;
  color: var(--primary);
  margin-bottom: 12px;
  text-shadow: 0 2px 0 var(--accent), 0 1px 8px rgba(255,39,133,0.08);
}
@media (min-width: 600px) {
  h1, .hero h1 { font-size: 2.8rem; }
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--electric-blue);
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(20,108,250,0.07);
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--electric-pink);
  margin-bottom: 9px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
p, ul, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
blockquote {
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  border-left: 4px solid var(--electric-blue);
  padding-left: 12px;
  margin-bottom: 10px;
}
.text-section ul {
  margin-bottom: 16px;
  padding-left: 0;
}
.text-section li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 22px;
}
.text-section li:before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px;
  height: 10px;
  background: linear-gradient(90deg, var(--electric-blue) 0%, var(--electric-pink) 100%);
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(163,71,255,0.08);
}
.text-section strong {
  color: var(--energetic-purple);
  font-weight: 700;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(95deg, var(--electric-blue) 0%, var(--accent) 100%);
  border-radius: 0 0 40px 40px;
  padding: 48px 0 36px 0;
  margin-bottom: 44px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 640px;
}
.hero h1, .hero p { color: var(--primary); }
.hero .cta-button { margin-top: 10px; }

/* BUTTONS */
.cta-button {
  padding: 16px 32px;
  background: linear-gradient(90deg, var(--electric-pink) 0%, var(--secondary) 100%);
  border: none;
  border-radius: 100px;
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(255,39,133,0.11);
  transition: background 0.2s, transform 0.17s, box-shadow 0.2s;
  display: inline-block;
  margin-bottom: 4px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--electric-blue) 0%, var(--energytic-cyan), var(--electric-pink) 100%);
  box-shadow: 0 6px 32px rgba(227,175,73,0.24), 0 8px 24px rgba(20,108,250,0.14);
  transform: translateY(-3px) scale(1.035);
}

/* LINKS & NAV */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.15s, color 0.13s, box-shadow 0.11s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--electric-blue);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(20,108,250,0.09);
}
footer nav a {
  color: var(--electric-blue);
  font-size: 0.97rem;
  font-weight: 600;
  margin-right: 10px;
}
footer nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* HEADER & FOOTER */
header {
  background: var(--accent);
  border-bottom: 3px solid var(--electric-blue);
  padding-top: 0;
  position: relative;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 48px 0 18px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer img {
  height: 38px;
  width: auto;
}
footer nav {
  gap: 12px;
}
footer .text-section, footer .text-section p {
  font-size: 0.98rem;
  color: var(--accent);
  opacity: 0.97;
  margin-top: 10px;
}
footer .text-section img {
  display: inline-block;
  margin: 0 7px -4px 3px;
  height: 18px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--electric-blue) 0%, var(--energetic-purple) 100%);
  color: #fff;
  font-size: 2rem;
  border-radius: 12px;
  padding: 8px 16px;
  margin-left: 12px;
  border: none;
  z-index: 110;
  transition: background 0.16s, box-shadow 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: linear-gradient(90deg, var(--electric-pink) 0%, var(--secondary) 100%);
  box-shadow: 0 4px 16px rgba(255,39,133,0.05);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  z-index: 2000;
  width: 100%;
  height: 100vh;
  background: var(--accent);
  box-shadow: 0 2px 18px rgba(20,108,250,0.13);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2010;
  font-size: 2.2rem;
  background: var(--electric-blue);
  color: var(--white);
  border-radius: 12px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--electric-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 100px;
  padding: 0 40px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 12px 0;
  letter-spacing: 1.5px;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* Hide mobile nav on desktop, show on mobile */
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 991px) {
  header nav, header .cta-button {
    display: none !important;
  }
}

/* FORM ELEMENTS */
input, textarea, select {
  background: #fff;
  border: 1.5px solid var(--electric-blue);
  padding: 13px 13px;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.14s, box-shadow 0.18s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--electric-pink);
  box-shadow: 0 2px 8px rgba(35,42,53,0.08);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: var(--electric-blue);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 20000;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 16px rgba(227,175,73,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 26px 16px 18px 16px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.7,-0.5,.29,1.6), box-shadow 0.22s;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  box-shadow: none;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 30px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  margin-bottom: 0;
  transition: background 0.16s, color 0.11s, box-shadow 0.13s;
}
.cookie-accept {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-accept:hover {
  background: var(--energetic-cyan);
  color: var(--primary);
}
.cookie-reject {
  background: var(--electric-pink);
  color: #fff;
}
.cookie-reject:hover {
  background: #fff3fb;
  color: var(--electric-pink);
}
.cookie-settings {
  background: var(--white);
  color: var(--electric-blue);
  border: 1.5px solid var(--electric-blue);
}
.cookie-settings:hover {
  background: var(--electric-blue);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,23,108,0.28);
  z-index: 21000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 6px 36px rgba(20,108,250,0.14);
  padding: 36px 24px 30px 24px;
  width: 95%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(30px);
  animation: pop-in 0.25s cubic-bezier(.8,-0.4,.35,1.35);
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(90px) scale(1.05); } 
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--electric-blue);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-toggle {
  width: 40px; height: 22px;
  background: var(--accent);
  border-radius: 40px;
  position: relative;
  transition: background 0.14s;
  border: 1.5px solid var(--electric-blue);
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
  left: -9999px;
}
.cookie-toggle-label {
  display: inline-block;
  width: 40px; height: 22px;
  cursor: pointer;
}
.cookie-toggle-checked {
  background: var(--electric-blue);
}
.cookie-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(163,71,255,0.08);
  transition: left 0.19s, background 0.13s;
}
.cookie-toggle-checked .cookie-toggle-thumb {
  left: 20px; background: var(--electric-blue);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 13px 24px;
}

/* RESPONSIVE */
@media (max-width: 1110px) {
  .container { max-width: 98%; }
  .service-grid > div { max-width: 48vw; }
}
@media (max-width: 860px) {
  .container { max-width: 98vw; }
  .service-grid > div { max-width: 100%; min-width: 220px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; }
  .section { padding: 18px 7vw; margin-bottom: 34px; }
  .content-wrapper, .service-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .card, .service-grid > div {
    min-width: 98vw !important;
    max-width: 99vw;
    padding: 22px 12px;
  }
  .testimonial-card {
    min-width: 98vw;
    max-width: 98vw;
    padding: 14px 8vw;
    margin-bottom: 18px;
  }
  footer .container { gap: 16px; padding: 12px; }
}
@media (max-width: 480px) {
  .section { padding: 10px 4vw; }
  .hero { padding: 28px 0 24px 0; }
  .cta-button { padding: 13px 14px; font-size: 1rem; }
}

/* MICRO-INTERACTIONS */
.card, .service-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s, background 0.13s;
}
.cta-button, nav a, .cookie-consent-banner button, .cookie-modal-actions button {
  transition: background 0.16s, color 0.13s, box-shadow 0.14s, transform 0.13s;
}
.card:active, .service-grid > div:active, .testimonial-card:active {
  transform: scale(0.98);
}
.cta-button:active,
.cookie-consent-banner button:active,
.cookie-modal-actions button:active {
  transform: scale(0.99);
}

/* FOCUS STATES/ACCESSIBILITY */
.cta-button:focus, nav a:focus, .mobile-nav a:focus,
.cookie-consent-banner button:focus, .cookie-modal-actions button:focus {
  outline: 2.5px dashed var(--electric-blue);
  outline-offset: 2.5px;
}
a:focus-visible { outline: 2px dashed var(--electric-blue); outline-offset: 2.5px; }

/* LAST: Ensure enough space & no overlapping */
.section + .section, .content-wrapper > *, .service-grid > div, .testimonial-card {
  margin-top: 20px;
}

/* Utilities */
.d-none { display: none !important; }
