/* 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.5;
  background: #F3F6FB;
  color: #20232A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
article, aside, footer, header, nav, section, main {
  display: block;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
a { color: inherit; text-decoration: none; }
a:focus { outline: 2px solid #24406C; outline-offset: 2px; }

/* FONT IMPORTS --------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ROOT & BRAND COLORS -------------------------- */
:root {
  --color-primary: #24406C;
  --color-secondary: #F3F6FB;
  --color-white: #FFF;
  --color-accent: #21723F;
  --color-black: #20232A;
  --color-light: #F8FAFE;
  --color-card: #FFFFFF;
  --color-error: #B00020;
}

/* STRUCTURE ------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEXBOX UTILS -------------------------------- */
.header-flex,
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-card);
  box-shadow: 0 4px 24px rgba(36,64,108,0.04);
  border-radius: 18px;
  position: relative;
  padding: 32px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(36,64,108,0.15);
}
.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;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(36,64,108,0.11);
  margin-bottom: 24px;
  border: 2px solid #24406C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADINGS & TYPOGRAPHY -------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  text-shadow: 0 1px 0 rgba(36,64,108,0.04);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  color: #20232A;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 10px;
}
blockquote {
  font-size: 1.11em;
  font-style: italic;
  color: #24406C;
  border-left: 4px solid #21723F;
  padding-left: 12px;
  margin-bottom: 14px;
  margin-top: 6px;
}
ul, ol {
  margin-bottom: 10px;
  margin-left: 1.3em;
}
ul li, ol li {
  margin-bottom: 6px;
  line-height: 1.65;
}
strong {
  font-weight: 700;
}

/* LINKS & BUTTONS ------------------------------ */
a.cta-primary, .cta-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border-radius: 32px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px 0 rgba(36,64,108,0.10);
  cursor: pointer;
  border: none;
  outline: none;
  margin-top: 8px;
}
a.cta-primary:hover, .cta-primary:hover, a.cta-primary:focus, .cta-primary:focus {
  background: var(--color-accent);
  color: #FFF;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px 0 rgba(33,114,63,0.10);
}
a.cta-secondary, .cta-secondary {
  display: inline-block;
  background: #FFF;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 14px 24px;
  border-radius: 28px;
  border: 2px solid var(--color-primary);
  transition: color 0.2s, background 0.2s, border 0.2s, transform 0.13s, box-shadow 0.15s;
  box-shadow: 0 1px 8px 0 rgba(36,64,108,0.06);
  margin-top: 6px;
  margin-right: 5px;
}
a.cta-secondary:hover, .cta-secondary:hover, a.cta-secondary:focus, .cta-secondary:focus {
  background: var(--color-primary);
  color: #FFF;
  border-color: var(--color-primary);
  transform: scale(1.03);
  box-shadow: 0 4px 14px 0 rgba(36,64,108,0.13);
}

button[role], button.cta-primary, button.cta-secondary {
  font: inherit;
}

/* NAVIGATION -----------------------------------*/
header {
  background: var(--color-white);
  box-shadow: 0 2px 24px rgba(36,64,108,0.07);
  position: sticky;
  top: 0;
  z-index: 200;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.main-nav a {
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.01em;
  padding: 4px 8px;
  transition: color 0.17s, background 0.14s;
  border-radius: 6px;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: var(--color-accent);
  color: #FFF;
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #FFF;
  font-size: 2.1rem;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.16s, transform 0.12s;
  z-index: 215;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  outline: none;
  transform: scale(1.07) rotate(4deg);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.88,-0.01,.27,1.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: #FFF;
  font-size: 2.1rem;
  padding: 18px 24px;
  border-radius: 8px;
  border: none;
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 9999;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-primary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 90px;
  padding: 38px 38px;
  gap: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--color-primary);
  padding: 12px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #FFF;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* HERO SECTION ---------------------------------*/
.hero {
  background: linear-gradient(115deg, #F3F6FB 52%, #24406C 70%);
  padding: 60px 0 58px 0;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  margin-bottom: 80px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.hero h1,
.hero p {
  color: var(--color-primary);
}
.hero .cta-primary {
  margin-top: 26px;
}

/* FEATURES -------------------------------------*/
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(36,64,108,0.08);
  padding: 32px 24px 28px 24px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 32px rgba(33,114,63,0.10);
  transform: translateY(-7px) scale(1.045);
}
.feature-grid img {
  width: 38px;
  height: 38px;
}

/* SERVICES OVERVIEW ----------------------------*/
.services-overview {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services-overview .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  margin-top: 24px;
}
.services-overview ul {
  flex: 2 1 340px;
}
.services-overview .cta-secondary {
  align-self: flex-end;
}

/* SERVICES PAGE -------------------------------*/
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 44px;
}
.service-grid > div {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(36,64,108,0.05);
  padding: 32px 24px 28px 24px;
  margin-bottom: 18px;
  transition: box-shadow 0.14s, transform 0.13s;
}
.service-grid > div:hover {
  box-shadow: 0 6px 30px rgba(36,64,108,0.13);
  transform: translateY(-6px) scale(1.03);
}

.process {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #24406C;
  border-radius: 25px;
  color: #FFF;
}
.process h2, .process ol {
  color: #FFF;
}
.process .cta-secondary {
  background: #FFF;
  color: #24406C;
}

/* PRICING PAGE ---------------------------------*/
.pricing {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.pricing table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 11px rgba(36,64,108,0.06);
}
.pricing th, .pricing td {
  padding: 16px 16px;
  text-align: left;
  font-size: 1.04em;
  border-bottom: 1px solid #F3F6FB;
}
.pricing th {
  background: #24406C;
  color: #FFF;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.pricing tr:last-child td {
  border-bottom: none;
}
.no-hidden-costs {
  margin-top: 18px;
  padding: 24px 18px;
  background: #F3F6FB;
  border-left: 5px solid #24406C;
  border-radius: 14px;
}
.how-it-works {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #24406C;
  color: #FFF;
  border-radius: 26px;
}
.how-it-works h2 {
  color: #FFF;
}
.how-it-works .cta-secondary {
  background: #FFF;
  color: #24406C;
}

/* TEAM & PROFILE PAGES -------------------------*/
.team-intro, .team-profiles, .philosophy {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.profile-list > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 5px 28px rgba(36,64,108,0.10);
  padding: 32px 24px;
  flex: 1 1 264px;
  min-width: 220px;
  max-width: 340px;
}
.profile-list h3 {
  color: #21723F;
  font-weight: 900;
  font-size: 1.35em;
}

/* CTA SECTION ----------------------------------*/
.cta {
  padding: 60px 20px;
  background: #21723F;
  color: #FFF;
  border-radius: 26px;
  margin-bottom: 60px;
}
.cta h2, .cta p {
  color: #FFF;
}

/* TESTIMONIALS ---------------------------------*/
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.testimonial-card {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  background: #FFF;
  color: #101010;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(33,64,140,0.11);
  padding: 32px 24px 24px 24px;
  transition: box-shadow 0.17s, transform 0.13s;
  margin-bottom: 20px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 34px 0 rgba(36,64,108,0.15);
  transform: translateY(-3px) scale(1.025);
}
.testimonial-card p {
  color: #24406C;
  font-weight: 700;
  font-size: 1.06em;
}

/* FAQ PAGE -------------------------------------*/
.faq, .faq-contact {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.faq-accordion h3 {
  cursor: pointer;
  color: #24406C;
  padding: 12px 0 4px 0;
  font-size: 1.2em;
  transition: color 0.16s;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  color: #21723F;
}
.category-list {
  margin-top: 18px;
  font-size: 0.98em;
}
.category-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category-list li {
  background: #24406C;
  color: #FFF;
  padding: 5px 18px;
  border-radius: 16px;
  font-size: 0.97em;
}

/* ABOUT, LEGAL, CONTACT ------------------------*/
.about, .why-us, .legal, .contact, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 20px rgba(36,64,108,0.03);
}
.contact-details, .footer-contact {
  margin-top: 18px;
  font-size: 1.05em;
  color: #2A2E39;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact ul {
  list-style: none;
  padding-left: 0;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* FOOTER ---------------------------------------*/
footer {
  background: #24406C;
  color: #FFF;
  padding: 44px 0 24px 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 50px;
  font-size: 1rem;
}
.footer-flex {
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FFF;
  opacity: 0.95;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: text-decoration 0.2s, opacity 0.14s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #3A9C5D;
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 17px;
  margin-top: 6px;
}
.brand-signature {
  font-size: 0.96em;
  letter-spacing: 0.013em;
  color: #D1E0F2;
  opacity: 0.87;
  margin-top: 10px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #CBD3E3;
  font-size: 0.97em;
}
.footer-contact img {
  width: 18px;
  vertical-align: middle;
  margin-right: 6px;
}
footer img[alt="NanoShard"], header img[alt="NanoShard Rechtsberatung"], .footer-flex a img {
  max-width: 160px;
  width: auto;
  margin-bottom: 10px;
}

/* SECTION DEFAULT SPACING ----------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { gap: 20px; justify-content: space-between; }
.text-image-section { align-items: center; gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* ANIMATIONS & INTERACTIONS --------------------*/
a, button, .card, .profile-list > div, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.18s, background 0.17s, color 0.16s, transform 0.18s;
}

/* TABLES (other than pricing) ------------------*/
table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 20px;
}
th, td {
  padding: 13px 14px;
  text-align: left;
}
th {
  background: var(--color-primary);
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
}
tr:nth-child(even) td {
  background: #F3F6FB;
}

/* COOKIE CONSENT BANNER ------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 5000;
  background: #24406C;
  color: #FFF;
  box-shadow: 0 -4px 28px 0 rgba(36,64,108,0.13);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px 24px 18px 28px;
  gap: 20px;
  font-size: 1rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-left: 22px;
}
.cookie-banner button {
  padding: 12px 22px;
  border-radius: 22px;
  background: #FFF;
  color: #24406C;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06em;
  margin-left: 0;
  cursor: pointer;
  border: none;
  transition: background 0.14s, color 0.13s, box-shadow 0.13s;
  box-shadow: 0 1px 7px rgba(33,64,140,0.09);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #21723F;
  color: #FFF;
}

/* COOKIE PREFERENCES MODAL ---------------------*/
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,64,108,0.38);
  z-index: 5050;
  opacity: 1;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #FFF;
  color: #24406C;
  border-radius: 22px;
  max-width: 95vw;
  min-width: 310px;
  width: 400px;
  box-shadow: 0 8px 44px 0 rgba(36,64,108,0.18);
  padding: 38px 36px 26px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 5200;
  animation: cookie-modal-in .37s cubic-bezier(.76,0,.42,1) both;
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: scale(0.92) translateY(44px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: #24406C;
  font-size: 1.44rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1.13em;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #CBD3E3;
  outline: none;
  border-radius: 14px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #21723F;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(36,64,108,0.11);
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.14s;
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-actions button {
  background: #24406C;
  color: #FFF;
  border-radius: 18px;
  padding: 10px 20px;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: #21723F;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 19px;
  top: 16px;
  font-size: 1.65em;
  color: #21723F;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 6px;
  transition: background 0.14s;
  z-index: 1420;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #F3F6FB;
}

/* GEOMETRIC DECORATIVE SHAPES ------------------*/
.hero:after, .features:before, .cta:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
}
.hero:after {
  right: 0; bottom: 0;
  width: 220px; height: 120px;
  border-bottom-right-radius: 60px;
  background: rgba(33,114,63,0.06);
  opacity: 0.2;
}
.features:before {
  left: -36px; top: 0;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(36,64,108,0.06);
  opacity: 0.18;
}
.cta:before {
  right: -20px; top: 18px;
  width: 62px; height: 62px;
  border-radius: 36px;
  background: rgba(33,114,63,0.13);
  opacity: 0.17;
}

/* RESPONSIVE DESIGN ---------------------------*/
@media (max-width: 900px) {
  .header-flex, .footer-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 768px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .content-wrapper, .feature-grid, .services-overview .content-wrapper, .service-grid, .testimonials-grid, .profile-list {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid > div, .service-grid > div, .testimonial-card, .profile-list > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 24px 14px;
  }
  .services-overview .cta-secondary { align-self: flex-start; }
  .cta, .how-it-works, .process {
    padding: 28px 8px;
    border-radius: 20px;
  }
  .hero { border-bottom-left-radius: 22px; border-bottom-right-radius: 22px; padding: 32px 0 30px 0; margin-bottom: 40px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}
@media (max-width: 540px) {
  .hero, .features, .services-overview, .pricing, .about, .faq, .contact, .team-intro, .why-us, .philosophy, .legal, .thank-you, .section, .how-it-works, .process, .cta, .team-profiles {
    padding: 14px 4px;
    margin-bottom: 32px;
    border-radius: 13px;
  }
  .card, .testimonial-card, .profile-list > div, .feature-grid > div {
    padding: 15px 6px;
    border-radius: 10px;
  }
  .cta-primary,.cta-secondary {
    width: 100%;
    padding: 12px 0;
    text-align: center;
    font-size: 1em;
  }
  .footer-flex { gap: 15px; }
}

/* Z-INDEX LAYERING for Mobile Menu and Cookie Banner */
.mobile-menu { z-index: 3000; }
.cookie-banner, .cookie-modal-backdrop { z-index: 5000; }

/* ACCESSIBILITY --------------------------------*/
:focus {
  outline: 2px solid #3A9C5D !important;
  outline-offset: 2px;
}

/* CUSTOM UTILITIES -----------------------------*/
.mt-0   { margin-top: 0 !important; }
.mb-0   { margin-bottom: 0 !important; }
.pt-0   { padding-top: 0 !important; }
.pb-0   { padding-bottom: 0 !important; }

/* END OF CSS */
