/* --- 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F6F8FB;
  color: #232240;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #191970;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C94497;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* --- TYPOGRAPHY (Elegant Classic, Hierarchy) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #191970;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.625rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.375rem; line-height: 1.24; margin-bottom: 12px; }
h4 { font-size: 1.1rem; line-height: 1.25; margin-bottom: 8px; }
p, ul, ol, blockquote {
  color: #232240;
  font-size: 1rem;
  margin-bottom: 16px;
}
small, .footer-bottom {
  color: #666;
  font-size: 0.85rem;
}
strong {
  font-weight: 700;
  color: #191970;
}
blockquote {
  border-left: 3px solid #C94497;
  padding-left: 18px;
  font-style: italic;
  color: #22224D;
  margin-bottom: 12px;
  background: #f3f3f6;
}
address {
  font-style: normal;
  color: #444;
  font-size: 1rem;
}

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px 0 rgba(25,25,112,0.035), 0 1.5px 8px 0 rgba(90,90,125,0.04);
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1.5px solid #ececf0;
  box-shadow: 0 2px 8px 0 rgba(40,54,80,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo img {
  height: 46px;
  transition: filter 0.3s;
}
.logo:hover img {
  filter: brightness(0.9) contrast(1.2);
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 3px 7px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f7ecf6;
  color: #C94497;
}
.cta-button {
  background: #191970;
  color: #fff !important;
  font-size: 1.08rem;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 30px;
  border-radius: 28px;
  border: none;
  outline: none;
  box-shadow: 0 8px 24px 0 rgba(25,25,112,0.07);
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.20s, color 0.20s, box-shadow 0.20s, transform 0.15s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #C94497;
  color: #fff !important;
  box-shadow: 0 8px 28px 0 rgba(201,68,151,0.19);
  transform: translateY(-2px) scale(1.025);
  text-decoration: none;
}
.cta-button.secondary {
  background: #fff;
  color: #191970 !important;
  border: 1.5px solid #191970;
  box-shadow: none;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #191970;
  color: #fff !important;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 6px 10px;
  margin-left: 10px;
  color: #191970;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #C94497;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,.1,.2,1);
  box-shadow: 8px 0 40px 0 rgba(20,24,48,0.17);
  padding: 0 0 0 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #C94497;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  z-index: 1003;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #191970;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.15rem;
  color: #232240;
  padding: 12px 0;
  width: 100%;
  border-radius: 3px;
  transition: background 0.17s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f6eaf4;
  color: #C94497;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    min-height: 60px;
    gap: 0 6px;
  }
  .logo img {
    height: 42px;
  }
}
@media (max-width: 600px) {
  .logo img {
    height: 34px;
  }
}


/* --- HERO SECTION --- */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 360px;
  background: #fff;
  margin-bottom: 60px;
  padding: 56px 0 32px 0;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 275px;
}
.hero-section h1 {
  font-size: 2.1rem;
  line-height: 1.13;
  margin-bottom: 18px;
}
.hero-section p {
  font-size: 1.14rem;
  margin-bottom: 26px;
  color: #444464;
}
@media (min-width: 800px) {
  .hero-section h1 {
    font-size: 2.7rem;
  }
  .hero-section p {
    font-size: 1.2rem;
  }
  .hero-section {
    min-height: 420px;
  }
}

/* --- FEATURES OVERVIEW & FEATURE GRID --- */
.features-overview .content-wrapper,
.services-list .content-wrapper {
  gap: 24px;
}
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
  justify-content: flex-start;
}
.feature-item, .service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 13px 0 rgba(25,25,112,0.038);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  min-width: 238px;
  max-width: 340px;
  flex: 1 1 260px;
  border: 1.2px solid #f3f1f7;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-item img, .service-card img {
  height: 44px;
  width: 44px;
  filter: grayscale(20%) contrast(1.08);
  margin-bottom: 6px;
}
.feature-item h3, .service-card h3 {
  margin-bottom: 8px;
  color: #C94497;
  font-size: 1.21rem;
}
.feature-item p, .service-card p {
  color: #232240;
  font-size: 1rem;
  margin-bottom: 8px;
}
.service-price {
  margin-top: auto;
  color: #191970;
  font-weight: 700;
  font-family: 'Montserrat', serif;
  font-size: 1.10rem;
  letter-spacing: 0.045em;
  background: #F6F8FB;
  padding: 4px 14px;
  border-radius: 20px;
}
.feature-item:hover, .service-card:hover {
  box-shadow: 0 9px 34px 0 rgba(201,68,151,0.13);
  transform: translateY(-3px) scale(1.028);
  z-index: 2;
}

@media (max-width: 1050px) {
  .feature-grid, .service-grid {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .feature-grid, .service-grid {
    gap: 12px;
  }
  .feature-item, .service-card {
    padding: 20px 10px;
    min-width: 160px;
    max-width: 94vw;
  }
}
@media (max-width: 600px) {
  .feature-grid, .service-grid {
    flex-direction: column;
  }
  .feature-item, .service-card {
    margin-bottom: 20px;
    min-width: unset;
    max-width: unset;
  }
}

/* --- ABOUT, PROCESS, CASE STUDY PREVIEWS --- */
.about-preview ul, .about-section ul, .service-benefits ul, .faq-preview ul, .our-strengths ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-left: 14px;
}
.about-preview ul li, .about-section ul li, .service-benefits ul li, .faq-preview ul li, .our-strengths ul li {
  list-style: inside disc;
  padding-left: 0;
  color: #444464;
}
.process-preview ol, .process-section ol, .process-steps ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
  margin-bottom: 18px;
}
.process-preview ol li, .process-steps ol li {
  list-style-type: decimal;
  color: #191970;
  font-weight: 500;
}

/* --- PROJECTS/CAS STUDIES --- */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.project-item {
  background: #F6F8FB;
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 2px 10px 0 rgba(25,25,112,0.035);
  min-width: 220px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s;
}
.project-item h3 {
  color: #C94497;
  font-size: 1.14rem;
}
.project-item ul {
  gap: 4px;
  padding-left: 13px;
}
.project-item ul li {
  color: #232240;
}
.project-item:hover {
  box-shadow: 0 7px 24px rgba(191,80,181,0.08);
}

@media (max-width: 720px) {
  .project-list {
    flex-direction: column;
    gap: 8px;
  }
  .project-item {
    min-width: unset;
    flex: 1 1 100%;
  }
}

/* --- TESTIMONIALS --- */
.testimonials-slider .content-wrapper,
.testimonials .content-wrapper {
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 19px 0 rgba(25,25,112,0.065);
  padding: 20px 28px 20px 22px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 640px;
  border: 1.2px solid #f3f1f7;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(25,25,112,0.12);
  transform: translateY(-1.5px) scale(1.025);
}
.testimonial-rating {
  font-size: 1.13rem;
  color: #C94497;
  letter-spacing: 2.5px;
  margin-bottom: 4px;
  font-weight: 700;
}
.testimonial-name {
  color: #191970;
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  margin-top: 4px;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-style: italic;
  margin: 0 0 8px 0;
  background: none;
  border: none;
  color: #212153;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.faq-item {
  background: #f6f8fb;
  border-radius: 11px;
  padding: 16px 16px 11px 16px;
  box-shadow: 0 1px 5px rgba(60,30,90,0.03);
  width: 100%;
  max-width: 430px;
  margin-bottom: 20px;
  border: 1px solid #e8eaf2;
}
.faq-item h3 {
  font-size: 1.07rem;
  color: #C94497;
}
.faq-item p {
  margin-bottom: 0;
  color: #232240;
  font-size: 1rem;
}

@media (max-width: 950px) {
  .faq-list {
    flex-direction: column;
    gap: 10px;
  }
  .faq-item {
    max-width: 98vw;
  }
}

/* --- CONTACT SECTION --- */
.contact-details-section .privacy-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #b374b2;
  background: #faf4fa;
  padding: 8px 12px;
  border-radius: 6px;
}

/* --- OTHER CTA SECTIONS --- */
.contact-cta, .about-cta, .cta-section, .project-cta, .start-cta, .thank-you-section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(45,42,120,0.03);
}
.about-cta, .cta-section, .project-cta, .start-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-cta a, .about-cta a, .cta-section a, .project-cta a, .start-cta a {
  margin-top: 18px;
}

/* --- LEGAL SECTION --- */
.legal-section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 1.5px 13px 0 rgba(45,42,120,0.04);
}
.legal-section h1,
.legal-section h2 {
  color: #191970;
  margin-bottom: 10px;
}
.legal-section ul {
  margin-bottom: 16px;
  padding-left: 14px;
  gap: 5px;
}
.legal-section ul li {
  color: #232240;
  list-style: inside disc;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1.5px solid #ececf0;
  box-shadow: 0 -2px 15px 0 rgba(40,54,80,0.045);
  padding: 40px 0 16px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 80px;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 1200px;
}
.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #232240;
  transition: color 0.18s;
  font-family: 'Montserrat', serif;
  font-size: 1.015rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C94497;
}
.footer-contact {
  font-size: 1rem;
  color: #232240;
  margin-top: 4px;
}
.footer-contact a {
  color: #191970;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: #C94497;
}
.footer-bottom {
  margin-top: 28px;
  font-size: 0.92rem;
  width: 100%;
  color: #767098;
}
@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    gap: 14px 0;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    font-size: 0.97rem;
    padding: 24px 0 11px 0;
  }
  footer .container {
    padding: 0 6px;
  }
}

/* --- FLEXBOX UTILITIES FOR CONSISTENCY --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2.5px 16px 0 rgba(40,45,100,0.046);
  padding: 18px 20px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 800px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- SPACING UTILITIES (for minimum 20px between cards/ctas/sections) --- */
.section + .section,
.contact-cta + .section,
.cta-section + .section,
.about-cta + .section,
.project-cta + .section,
.start-cta + .section {
  margin-top: 28px;
}

/* --- BUTTONS --- */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  cursor: pointer;
}
button:focus {
  outline: 2px solid #C94497;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-button, .feature-item, .service-card, .card, .project-item, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.15s;
}
.cta-button:active {
  transform: scale(0.98);
}

/* --- RESPONSIVE GENERAL --- */
@media (max-width: 540px) {
  h1 { font-size: 1.52rem; }
  h2 { font-size: 1.20rem; }
  .container { padding: 0 5px; }
  .section, .about-cta, .contact-cta, .cta-section, .project-cta, .start-cta, .thank-you-section, .legal-section {
    padding: 20px 4px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  color: #232240;
  box-shadow: 0 -4px 24px 0 rgba(25,25,112,0.14);
  z-index: 3000;
  padding: 22px 24px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 36px;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  transition: transform 0.38s cubic-bezier(.7,.1,.2,1);
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 220px;
  color: #232240;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  border-radius: 24px;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.17s, box-shadow 0.18s, transform 0.13s;
}
.cookie-btn.accept {
  background: #191970;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #C94497;
  border: 1px solid #C94497;
}
.cookie-btn.settings {
  background: #fff;
  color: #191970;
  border: 1.5px solid #191970;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C94497;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffeaf8;
  color: #9c256b;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #f7f6fe;
  color: #191970;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6px 12px 6px;
    border-radius: 10px 10px 0 0;
    font-size: 0.98rem;
    width: 96vw;
    margin-left: 2vw;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(42,34,80,0.25);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal.hide {
  display: none;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 36px rgba(25,25,112,0.13);
  padding: 36px 32px 32px 32px;
  max-width: 420px;
  width: 96vw;
  position: relative;
  animation: slideInModal 0.34s cubic-bezier(.7,.1,.2,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes slideInModal {
  from { transform: translateY(80px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 21px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #C94497;
  cursor: pointer;
}
.cookie-modal__title {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1.21rem;
  color: #191970;
  margin-bottom: 10px;
}
.cookie-modal__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-option label {
  font-size: 1rem;
  color: #232240;
}
.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #C94497;
  border-radius: 6px;
}
.cookie-option.essential label {
  opacity: 0.7;
  font-style: italic;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal__dialog { padding: 18px 5px 13px 8px; border-radius: 10px; }
  .cookie-modal__title { font-size: 1.06rem; margin-bottom: 7px; }
}

/* --- ACCESSIBILITY FOCUS OUTLINE --- */
a:focus, button:focus, .cta-button:focus, .mobile-nav a:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.3px solid #C94497;
  outline-offset: 2px;
  z-index: 3;
}

/* --- UTILITY CLASSES --- */
.mt-2 {
  margin-top: 8px !important;
}
.mt-3 {
  margin-top: 20px !important;
}
.mb-2 {
  margin-bottom: 8px !important;
}
.mb-3 {
  margin-bottom: 20px !important;
}

/* --- END OF ELEGANT/CLASSIC DESIGN CSS --- */
