/* =============================
   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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
body { line-height: 1.5; background: #F1FAEE; color: #212529; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; }

/* =============================
   CSS VARIABLES & BRAND COLORS
============================= */
:root {
  --color-primary: #212529;
  --color-secondary: #E63946;
  --color-accent: #F1FAEE;
  --color-gray: #dedede;
  --color-dark: #18191d;
  --color-shadow: rgba(33,37,41, 0.10);
  --color-shadow-strong: rgba(33,37,41, 0.22);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* =============================
   TYPOGRAPHY
============================= */
body {
  font-family: var(--font-body), sans-serif;
  color: var(--color-primary);
  background: var(--color-accent);
  font-size: 16px;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.13;
}
h1 {
  font-size: 2.625rem;
  margin-bottom: 24px;
  letter-spacing: -0.8px;
}
h2 {
  font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }

p, ul, ol, li {
  font-family: var(--font-body), sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style: disc;
}
b, strong {
  font-weight: 700; color: var(--color-secondary); }

/* =============================
   LAYOUT CONTAINERS & SPACING
============================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px; padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 3px 24px var(--color-shadow);
}

/* =============================
   HEADER & NAVIGATION
============================= */
header {
  background: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
}
.logo img {
  height: 46px; width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-size: 1.05rem;
  font-family: var(--font-display), sans-serif;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 2px 6px;
  transition: color .22s;
}
nav a:hover,
nav a:focus {
  color: var(--color-secondary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  padding: 12px 34px;
  margin-left: 14px;
  box-shadow: 0 2px 8px var(--color-shadow-strong);
  border: none;
  transition: background 0.22s, box-shadow 0.22s, transform 0.2s;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0,0,0,0.11);
}
.cta-btn:hover, .cta-btn:focus {
  background: #b31a34;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 18px #E6394620;
}

/* =============================
   MOBILE NAVIGATION
============================= */
.mobile-menu-toggle {
  font-size: 2.15rem;
  color: var(--color-secondary);
  background: transparent;
  border: none;
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 8px;
  display: none;
  z-index: 1005;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E6394630;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .44s cubic-bezier(.7,.1,.25,1);
  box-shadow: 0 6px 38px var(--color-shadow-strong);
  padding-top: 32px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.05rem;
  color: var(--color-secondary);
  position: absolute;
  top: 14px;
  right: 24px;
  background: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  z-index: 2002;
  border: none;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E6394630;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
  width: 100vw;
  padding-left: 30px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 4px;
  border-radius: 7px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e6394615;
  color: var(--color-secondary);
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
   HERO SECTION & ARTISTIC EFFECTS
============================= */
.hero {
  padding: 64px 0 48px 0;
  background: linear-gradient(102deg, #F1FAEE 73%, #E6394655 99%);
  position: relative;
  min-height: 330px;
}
.hero .container, .hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.813rem;
  text-shadow: 0 2px 7px #E6394615;
  margin-bottom: 16px;
  line-height: 1.07;
  font-family: var(--font-display), sans-serif;
  letter-spacing: -1.2px;
}
.hero p {
  font-size: 1.18rem;
  color: #232328;
  margin-bottom: 26px;
  max-width: 600px;
}
.hero .cta-btn {
  font-size: 1.11rem;
  font-weight: 700;
  margin-top: 18px;
}

/* =============================
   FEATURES SECTION
============================= */
.features {
  background: #fff4fb;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 36px #e639460a;
}
.features .container > .content-wrapper > h2 {
  color: var(--color-secondary);
  font-size: 2rem;
  text-shadow: 0 2px 9px #F1FAEE99;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  list-style: none;
  justify-content: flex-start;
}
.features ul li {
  background: #fef6f8;
  border-radius: 13px;
  box-shadow: 0 2px 16px #E6394622;
  padding: 28px 24px 20px 24px;
  flex: 1 1 260px;
  min-width: 244px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s, transform .13s;
}
.features ul li:hover {
  box-shadow: 0 8px 24px #E6394638;
  transform: translateY(-3px) scale(1.012);
}
.features ul img {
  height: 40px; width: 40px;
  margin-bottom: 10px;
}
.features ul h3 {
  color: #322441;
  font-size: 1.18rem;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
  font-family: var(--font-display), sans-serif;
}
.features ul p {
  color: #492d39;
  font-size: 1rem;
  margin-bottom: 0;
  font-family: var(--font-body), sans-serif;
}

/* =============================
   COMMON CONTENT LAYOUTS
============================= */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  background: #fff4fb;
  border-radius: 14px;
  box-shadow: 0 2px 15px #E6394622;
  padding: 20px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 30px #E639462f;
  transform: translateY(-2px) scale(1.017);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.case-summary {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px #2125290d;
  padding: 24px 22px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.case-summary:hover {
  box-shadow: 0 10px 31px #E6394633;
  transform: translateY(-2px);
}

.team-grid {
  display: flex; gap: 24px; flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.team-grid > div {
  background: #f2e5ee;
  border-radius: 10px;
  padding: 20px 16px;
  min-width: 210px;
  box-shadow: 0 2px 12px #E6394611;
  flex: 1 1 180px;
}
.materials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.materials-grid > div {
  background: #f1f2ff;
  border-radius: 10px;
  padding: 20px 16px;
  box-shadow: 0 2px 13px #18191d13;
  flex: 1 1 210px;
}

.faq-list {
  display: flex; flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fffdfa;
  border-radius: 9px;
  box-shadow: 0 2px 11px #E6394633;
  padding: 18px 18px 14px 22px;
  margin-bottom: 6px;
  transition: box-shadow .15s;
}
.faq-item h2 {
  font-size: 1.19rem;
  color: var(--color-secondary);
  font-family: var(--font-display), sans-serif;
}
.faq-item p {
  font-size: 1rem; color: var(--color-primary);
}
.contact-details {
  display: flex; flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.contact-details p, .footer-contact p {
  font-size: 1rem; color: #473c4d; display: flex; align-items: center; gap: 10px;
}
.social-links {
  display: flex; gap: 18px; margin-bottom: 16px;
}
.social-links a img {
  height: 32px; width: 32px;
  filter: drop-shadow(0px 1.5px 3px #E6394617);
  transition: transform .17s;
}
.social-links a:hover img {
  transform: scale(1.15) rotate(-9deg);
}

/* =============================
   TESTIMONIALS & CARDS
============================= */
.testimonials {
  background: #fffdfa;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 32px #e6394635;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 20px 30px;
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 17px;
  box-shadow: 0 3px 25px #18191d0b;
  transition: box-shadow .22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px #E6394625;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.13rem;
  font-family: var(--font-display), sans-serif;
  text-align: center;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: 500;
  font-family: var(--font-body), sans-serif;
  text-align: center;
}

/* =============================
   FOOTER
============================= */
footer {
  background: #fff4fb;
  margin-top: 70px;
  border-radius: 24px 24px 0 0;
  padding: 40px 0 12px 0;
  box-shadow: 0 -6px 32px #18191d0a;
}
footer .container {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 30px 48px;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 14px;
}
.footer-contact {
  display: flex; flex-direction: column;
  gap: 7px;
  min-width: 200px;
}
.footer-contact p img {
  height: 19px; width: 19px; vertical-align: middle;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 18px;
}
.footer-brand img {
  height: 36px; width: auto;
  margin-bottom: 6px;
}
.footer-brand span {
  font-size: 1rem; color: #8e749c; font-family: var(--font-display);
}

/* =============================
   CTA SECTIONS, ABOUT, ETC.
============================= */
.cta-section, .cta-section .container, .cta-section .content-wrapper,
.contact-cta, .contact-cta .container, .contact-cta .content-wrapper {
  background: linear-gradient(89deg, #fff1f5 70%, #E63946 100%);
  border-radius: 19px;
  box-shadow: 0 4px 24px #E6394617;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta-section h2, .contact-cta h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 14px;
}
.cta-section p, .contact-cta p {
  color: #463135;
  font-size: 1.06rem;
  margin-bottom: 22px;
}

/* =============================
   POLICY/LEGAL PAGES
============================= */
.privacy-policy, .gdpr-section, .cookies-policy, .terms-of-use {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px #b31a3431;
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* =============================
   THANK YOU PAGE
============================= */
.thank-you-section {
  background: #f2e5ee;
  border-radius: 18px;
  box-shadow: 0 2px 14px #6d258631;
  margin-bottom: 60px;
  padding: 40px 20px;
  text-align: center;
}
.thank-you-section h1 {
  color: var(--color-secondary);
  font-size: 2.13rem;
}
.thank-you-section p { font-size: 1.1rem; }
.thank-you-section ul {
  display: flex; flex-direction: column; gap: 9px; align-items: center;
  margin-top: 18px;
  margin-bottom: 22px;
}
.thank-you-section .cta-btn { margin-top: 18px; }

/* =============================
   COOKIE BANNER & MODAL
============================= */
.cookie-banner {
  position: fixed;
  z-index: 5040;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  background: #fffdfa;
  box-shadow: 0 -2px 16px #E6394625;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 24px 20px;
  align-items: center;
  animation: cookie-slide-in .65s cubic-bezier(.37,1.21,.39,1);
  gap: 20px;
}
@keyframes cookie-slide-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.03rem;
  color: #211d21;
  margin-bottom: 0;
  max-width: 480px;
}
.cookie-banner .cookie-actions {
  display: flex; gap: 14px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 7px;
  border: none;
  font-size: 1.04rem;
  padding: 10px 24px;
  font-family: var(--font-display), sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
  transition: background .24s, transform .17s;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b31a34;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #f6e6ec;
  color: var(--color-secondary);
}

.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,37,41,0.46);
  z-index: 5045;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 9px 40px #E6394650;
  max-width: 385px; width: 94vw;
  padding: 44px 28px 32px 28px;
  position: relative;
  animation: cookie-modal-in .47s cubic-bezier(.17,.67,.57,1.24);
}
@keyframes cookie-modal-in {
  from { transform: scale(0.86) translateY(-70px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  font-size: 1.45rem;
  color: var(--color-secondary);
  background: #fff;
  border: none;
  border-radius: 50%;
  padding: 3px 8px;
  cursor: pointer;
  z-index: 1;
  transition: background .14s;
}
.cookie-modal-close:hover { background: #e6394619; }
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.28rem;
  margin-bottom: 15px;
  font-family: var(--font-display), sans-serif;
}
.cookie-modal ul {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0;
  list-style: none;
  margin-bottom: 20px;
}
.cookie-modal ul label {
  display: flex; align-items: center; gap: 13px;
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-toggle {
  width: 32px; height: 18px;
  appearance: none;
  outline: none;
  background: #dedede;
  border-radius: 12px;
  position: relative;
  transition: background .19s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle::after {
  content: '';
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: left .18s;
  box-shadow: 0 1px 3px rgba(33,37,41,0.13);
}
.cookie-toggle:checked::after {
  left: 15px;
}
.cookie-category {
  font-family: var(--font-display), sans-serif;
  font-size: 1.09rem;
  color: var(--color-secondary);
}
.cookie-disabled {
  color: #b7abb5;
}

/* =============================
   RESPONSIVE DESIGN
============================= */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-brand {
    margin-top: 12px;
  }
  .team-grid, .materials-grid, .features ul, .content-grid, .card-container {
    gap: 14px;
  }
  .features ul li, .card, .case-summary, .team-grid > div, .materials-grid > div {
    padding: 16px 10px;
  }
}
@media (max-width: 768px) {
  .container, .hero, .features, .cta-section, .about-team, .about-differentials, .about-story, .about-snapshot, .about-team, .about-differentials, .portfolio-intro, .case-studies, .faq-section, .faq-support, .testimonials, .social-proof, .contact-section, .privacy-policy, .gdpr-section, .terms-of-use, .cookies-policy, .thank-you-section {
    padding-left: 7px;
    padding-right: 7px;
  }
  .hero {
    padding: 40px 0 28px 0;
    min-height: 220px;
  }
  .footer-brand img {
    height: 29px;
  }
  .section, .cta-section, .contact-cta {
    padding: 22px 8px;
    border-radius: 14px;
  }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.26rem; }
  .team-grid, .materials-grid, .features ul, .content-grid, .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .text-image-section, .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .hero .cta-btn {
    width: 100%; text-align: center;
  }
  .footer-contact, .footer-brand { align-items: flex-start; }
  .cookie-banner {
    flex-direction: column;
    padding: 17px 6px;
    gap: 14px;
  }
  .cookie-banner p { max-width: 94vw; }
  .footer-contact p img {
    height: 16px; width: 16px;
  }
}
@media (max-width: 520px) {
  .footer-brand span { font-size: 0.93rem; }
  .testimonial-card, .faq-item, .case-summary {
    padding: 8px 7px 9px 12px;
  }
  .cta-btn, .cookie-btn {
    font-size: 0.98rem;
    padding: 9px 13px;
  }
}
/* =============================
   MICRO-INTERACTIONS & EFFECTS
============================= */
.card, .features ul li, .case-summary, .team-grid > div, .materials-grid > div, .faq-item {
  transition: box-shadow .19s, transform .12s;
}
.card:hover, .features ul li:hover, .case-summary:hover, .team-grid > div:hover, .materials-grid > div:hover, .faq-item:hover {
  box-shadow: 0 8px 32px #E6394638;
  transform: scale(1.016) translateY(-3px);
}
.cta-btn, .cookie-btn {
  transition: background 0.22s, box-shadow 0.13s, transform 0.18s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97) translateY(2px);
}

::-webkit-input-placeholder { color: #b399ac; }
::-moz-placeholder          { color: #b399ac; }
:-ms-input-placeholder      { color: #b399ac; }
::placeholder              { color: #b399ac; }

/* =============================
   VISUAL ARTISTIC ACCENTS
============================= */
h1, h2 {
  background-image: linear-gradient(90deg, #E63946 0%, #ea5aaa 88%, #ac3e9c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

hr {
  border: none;
  border-top: 2px solid #E63946;
  margin: 36px 0;
}

/* Subtle dotted divider for sections */
.section:not(:last-child)::after {
  content: '';
  display: block;
  height: 4px;
  width: 70px;
  margin: 32px auto 0;
  border-radius: 7px;
  background: repeating-linear-gradient(90deg,#E63946 0 5px, #fff 5px 18px);
  opacity: .14;
}

/* =============================
   ACCESSIBILITY
============================= */
:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}
a:focus { outline-offset: 3px; }

/* =============================
   PRINT MODE
============================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  .section, .cta-section, .testimonials, .about-story, .about-team, .about-differentials, .portfolio-intro, .case-studies, .privacy-policy, .gdpr-section, .cookies-policy, .terms-of-use, .thank-you-section { box-shadow: none; background: #fff; }
}
