/* ================================================= 
   Speedy Arc Atelier - style.css
   Creative Artistic Design (Flexbox Only)
   ================================================= */
/* ==== 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 {
  scroll-behavior: smooth;
  min-height: 100%;
}
body {
  line-height: 1.5;
  background: #F4F4F4;
  color: #28295A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px dashed #F6AE2D;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: inherit;
}

/* ==== BRAND COLORS & TYPOGRAPHY ==== */
:root {
  --primary: #28295A;
  --secondary: #F6AE2D;
  --accent: #F4F4F4;
  --text-dark: #1b1b3a;
  --text-light: #fff;
  --shadow: 0 4px 18px 0 rgba(40,41,90,0.08);
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat'),
    url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat'),
    url('https://fonts.googleapis.com/css?family=Montserrat:400&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-weight: 400;
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400&display=swap');
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.1;
  background: linear-gradient(90deg, #F6AE2D 10%, #28295A 90%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #28295A;
  margin-bottom: 8px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}

/* ==== LAYOUT & FLEXBOX ==== */
.container {
  width: 100%;
  max-width: 1212px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container, .feature-grid, .service-list, .testimonial-list,
.footer-nav, .footer-legal-nav, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  justify-content: space-between;
}
.feature-grid > *, .feature-list > *, .service-list > *, .testimonial-list > *, .case-snippets > * {
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  border-radius: 16px;
  background: #fff;
  padding: 24px 20px;
}
.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;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(40,41,90,0.09);
  border-radius: 18px;
  padding: 20px;
  min-width: 240px;
  margin-bottom: 24px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HERO & UNIQUE SECTION STYLES ==== */
.hero {
  background: linear-gradient(120deg, #F6AE2D 0%, #F4F4F4 65%, #28295A 100%);
  box-shadow: 0 6px 32px rgba(246,174,45,0.08);
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #28295A;
  background: none;
  background-clip: unset;
}
.hero p {
  font-size: 1.25rem;
  line-height: 1.4;
  color: #28295A;
  margin-bottom: 20px;
}

/* ==== FEATURE GRID (ICON) ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.feature-grid li, .feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 290px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 18px 20px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
  transition: transform 0.18s cubic-bezier(0.4,0.08,0.24,1), box-shadow 0.2s;
}
.feature-grid li:hover, .feature-grid > div:hover {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 38px 0 rgba(40,41,90,0.13);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

/* ==== SERVICES ==== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 32px 0 32px 0;
}
.service-list > div {
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 300px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px 18px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  transition: transform 0.18s, box-shadow .18s;
}
.service-list > div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 34px 0 rgba(40,41,90,0.15);
}
.service-price {
  background: var(--secondary);
  color: var(--primary);
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 14px;
  margin-left: 10px;
  font-weight: 700;
  vertical-align: middle;
}

/* ==== TEXT SECTIONS ==== */
.text-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 8px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px;
  box-shadow: 0 3px 7px 0 rgba(40,41,90,0.06);
  margin: 18px 0 12px 0;
}
.map-placeholder img {
  width: 36px;
  height: 36px;
}

/* ==== TESTIMONIALS ==== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #28295A;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #28295A;
  font-style: italic;
  margin-top: 8px;
  opacity: 0.8;
}
.testimonial-card:before {
  content: '“';
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--secondary);
  position: absolute;
  top: 12px; left: 14px;
  opacity: 0.38;
  pointer-events: none;
}

/* ==== CARDS ==== */
.card {
  border-left: 8px solid var(--secondary);
  border-radius: 18px;
}

/* ==== CTAs & BUTTONS ==== */
.cta, .btn, button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 11px 34px;
  min-height: 44px;
  box-shadow: 0 2px 8px 0 rgba(246,174,45,0.05);
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.16s;
  border: none;
  margin-top: 12px;
  user-select: none;
}
.cta.primary, .btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 26px 0 rgba(40,41,90,0.11);
}
.cta.primary:hover, .btn.primary:hover, .cta.primary:focus::after {
  background: #383998;
  color: var(--secondary);
  transform: scale(1.04);
}
.cta.secondary, .btn.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cta.secondary:hover, .btn.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: var(--secondary);
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

.main-nav a, .footer-nav a, .footer-legal-nav a, .mobile-nav a {
  padding: 8px 18px;
  border-radius: 14px;
  margin: 0 2px;
  color: #28295A;
  font-weight: 500;
  font-size: 1.08rem;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .footer-nav a:hover, .footer-legal-nav a:hover, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav a.active {
  background: var(--primary);
  color: #fff;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(40,41,90,0.04);
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  position: relative;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ==== HEADER BUTTONS ==== */
.cta.primary {
  margin-left: 18px;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 121;
  position: relative;
  border: none;
  cursor: pointer;
  transition: background 0.1s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #f4f4f4;
  z-index: 2000;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.87,-0.21,.19,1.31);
  box-shadow: 0 8px 38px 0 rgba(40,41,90,0.18);
  padding: 0 16px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.6rem;
  align-self: flex-end;
  padding: 24px 18px 8px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2050;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 2px 15px 0 rgba(40,41,90,0.05);
}
.mobile-nav a:active {
  background: var(--secondary);
  color: var(--primary);
}

/* Hide nav on mobile, show toggle */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #28295A;
  color: #fff;
  padding: 42px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav, .footer-legal-nav, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a, .footer-legal-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 12px;
  background: rgba(40,41,90,0.08);
  transition: color 0.17s, background 0.17s;
}
.footer-nav a:hover, .footer-legal-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
.footer-brand img {
  width: 54px;
  height: auto;
  margin: 0 auto 10px auto;
  display: block;
}
footer p {
  font-size: 0.98rem;
  color: #fff;
  opacity: 0.84;
  margin: 0;
}
.footer-social a {
  margin-right: 6px;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.footer-social a:hover {
  background: var(--secondary);
}
.footer-social img {
  width: 20px;
  height: 20px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2200;
  background: #28295A;
  color: #fff;
  padding: 24px 12px 26px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 -4px 36px rgba(40,41,90,0.15);
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  animation: cookie-banner-fadein 0.7s cubic-bezier(.8,-0.05,.28,1.14);
}
@keyframes cookie-banner-fadein {
  0% { opacity: 0; transform: translateY(90px);}
  80% { opacity: 1; transform: translateY(-6px);}
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  flex: 1 1 200px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 22px;
  font-weight: bold;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.14s, color .14s, box-shadow .14s;
}
.cookie-btn.primary {
  background: #fff;
  color: var(--primary);
}
.cookie-btn.reject {
  background: #FF3C1A;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(40,41,90,0.44);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #28295A;
  max-width: 360px;
  width: 88vw;
  border-radius: 20px;
  padding: 36px 22px 26px 22px;
  box-shadow: 0 10px 40px 0 rgba(40,41,90,0.18);
  animation: pop 0.27s cubic-bezier(.78,-0.07,.27,1.19);
}
@keyframes pop {
  0% { opacity: 0; transform: scale(.88);
  }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.19rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1rem;
  margin-right: 12px;
  color: var(--primary);
}
.cookie-toggle {
  width: 46px;
  height: 28px;
  background: #EAEAEA;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0;
  vertical-align: middle;
  transition: background 0.15s;
}
.cookie-toggle[data-checked="true"] {
  background: #F6AE2D;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(40,41,90,0.03);
  transition: left 0.16s;
}
.cookie-toggle[data-checked="true"]:before {
  left: 22px;
}

/* ==== THANK YOU PAGE ==== */
.thankyou {
  background: linear-gradient(120deg, #F4F4F4 60%, #F6AE2D 100%);
  padding: 60px 0 60px 0;
  border-radius: 30px;
  margin-bottom: 54px;
}

/* ==== LEGAL SECTIONS ==== */
.legal {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 40px 18px;
  margin-bottom: 60px;
}
.legal ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 18px;
}
.legal h1, .legal h2, .legal h3 {
  color: var(--primary);
}
.legal a {
  color: var(--secondary);
}
.legal a:hover { color: #28295A; text-decoration: underline; }

/* ==== LIST STYLES ==== */
ul, ol {
  padding-left: 24px; 
  margin-bottom: 14px;
}
li {
  margin-bottom: 8px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
  .feature-grid, .service-list, .testimonial-list, .footer-nav, .footer-legal-nav, .feature-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section, section, .hero, .thankyou, .legal {
    padding: 25px 2vw;
    margin-bottom: 38px;
  }
  .feature-grid, .service-list, .testimonial-list, .footer-nav, .footer-legal-nav {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid li, .feature-grid > div, .service-list > div, .testimonial-card, .card {
    max-width: 98vw;
    min-width: unset;
    align-self: stretch;
    margin-bottom: 16px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 6px 8px;
  }
  .logo img {
    height: 30px;
  }
  .map-placeholder {
    flex-direction: column;
    gap: 12px;
    padding: 10px 8px;
  }
  footer .container {
    padding: 0 6vw;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .section, section, .hero, .thankyou, .legal {
    padding: 16px 0.4vw;
  }
  .cta, .btn {
    font-size: 1rem;
    padding: 9px 16px;
  }
  .footer-brand img {
    width: 38px;
  }
}

/* ==== ARTISTIC DETAILS ==== */
h1, h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.03em;
  /* Artistic colored underline */
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  background: var(--secondary);
  border-radius: 6px;
  margin-top: 8px;
  margin-bottom: 2px;
}
h2:after {
  width: 28px;
  height: 3px;
}

/* Artistic paint splash accents */
.hero:before {
  content: '';
  position: absolute;
  top: -32px; right: -32px;
  width: 145px;
  height: 135px;
  background: url('../assets/artistic-splash.svg') no-repeat center center/cover, var(--secondary);
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}
.hero:after {
  content: '';
  position: absolute;
  left: -26px; bottom: -30px;
  width: 90px;
  height: 95px;
  background: url('../assets/artistic-splash-blue.svg') no-repeat center center/cover, var(--primary);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

/* Micro-interactions for cards */
.card, .feature-grid li, .feature-grid > div, .service-list > div {
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .feature-grid li:hover, .feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 12px 34px 0 rgba(246,174,45,0.09), 0 2px 11px 0 rgba(40,41,90,0.13);
  transform: translateY(-3px) scale(1.03) rotate(-1.5deg);
}

/* Animation for CTA hover */
.cta.primary, .btn.primary {
  position: relative;
  overflow: hidden;
}
.cta.primary::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: rgba(246,174,45,0.22);
  transform: skewX(-22deg);
  transition: left 0.25s;
  z-index: 0;
}
.cta.primary:hover::after {
  left: 120%;
}

/* ===================================
   Extra accessibility & usability
   =================================== */
::selection {
  background: var(--secondary);
  color: #28295A;
}
a:focus-visible, button:focus-visible {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 1.5px;
}

/* ===================================
   Utility Classes & Spacing
   =================================== */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.pb-0 { padding-bottom: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-20 {
  gap: 20px;
}

/* ==== Hide Inactive Elements ==== */
[hidden], .hidden {
  display: none !important;
}

/* ==== Prevent Content Overlap ==== */
.card, .feature-grid li, .service-list > div, .testimonial-card {
  margin-bottom: 20px;
  z-index: 1;
}

/* ================================ */
/*         PRINT SAFE COLORS        */
/* ================================ */
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}
