/* ========================================================================
   CSS RESET & BASE STYLES
   ===================================================================== */
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;
}
body {
  background: #fff;
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.23,1,.32,1);
}
ul, ol {
  padding-left: 22px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 14px;
}
strong { font-weight: 700; }
em, i { font-style: italic; }
table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0 36px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(24,24,24,0.03);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 12px 20px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #181818;
  color: #fff;
  font-weight: 700;
}
td {
  color: #222;
  border-bottom: 1px solid #eee;
}
tr:last-child td {
  border-bottom: none;
}

main { min-height: 70vh; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========================================================================
   COLOR PALETTE (Monochrome + Brand)
   ===================================================================== */
:root {
  --color-primary: #111317;            /* nearly black */
  --color-primary-dark: #0C1622;
  --color-brand: #123A5C;              /* brand dark blue */
  --color-accent: #E9B111;             /* gold accent */
  --color-gray-100: #fafbfc;
  --color-gray-200: #f2f3f6;
  --color-gray-300: #eaeaea;           /* secondary bg */
  --color-gray-400: #cccccc;
  --color-gray-500: #888888;
  --color-gray-700: #444;
  --color-white: #fff;
  --color-black: #101010;
}

/* ========================================================================
   LAYOUT/CONTAINER & SPACING SYSTEM (MANDATORY)
   ===================================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 5px 36px 0 rgba(30,30,30,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: var(--color-gray-100);
  box-shadow: 0 2px 12px rgba(26,26,26,0.04);
}
.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;
  margin-bottom: 20px;
  background: var(--color-gray-200);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(26,26,26,0.05);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  padding: 26px 20px 24px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(18,18,18,0.06);
  min-width: 0;
}

.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ===================
   FLEX-BASED CARD/FEATURES GRIDS
   =================== */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  box-sizing: border-box;
}
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card, .service-details {
  background: var(--color-white);
  padding: 25px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(22,22,22,0.05);
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-grid, .success-story-cards, .faq-list, .step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team-member, .faq-item, .step-item {
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 400px;
  background: var(--color-white);
  padding: 22px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(26,26,26,0.05);
  margin-bottom: 20px;
}

/* ===================
   HERO / CTA STYLES
   =================== */
.hero {
  background: linear-gradient(120deg, var(--color-gray-200) 70%, var(--color-white) 100%);
  padding: 60px 0 56px 0;
  border-radius: 0 0 34px 34px;
  box-shadow: 0 6px 36px 0 rgba(70,70,70,0.09);
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 22px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.hero p {
  max-width: 620px;
  color: #222;
  font-size: 1.16rem;
  font-weight: 400;
}
.cta {
  margin-bottom: 0;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 0 44px 0 rgba(16,16,16,0.09);
}
.cta h2, .cta p {
  color: var(--color-white);
}

/* ========================================================================
   NAVIGATION (DESKTOP & MOBILE BURGER MENU)
   ===================================================================== */
header {
  position: relative;
  background: var(--color-white);
  z-index: 20;
  box-shadow: 0 2px 9px rgba(16,16,16,0.06);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px 14px 20px;
  justify-content: flex-start;
}
.main-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 4px;
  border-radius: 7px;
  transition: color 0.2s cubic-bezier(.23,1,.32,1), background 0.2s;
}
.main-nav a:hover, .footer-nav a:hover {
  color: var(--color-brand);
  background: var(--color-gray-200);
}
.main-nav a.cta-btn {
  background: var(--color-brand);
  color: var(--color-white);
  padding: 10px 23px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 18px;
  box-shadow: 0 2px 6px rgba(18,58,92,0.10);
  transition: background 0.2s cubic-bezier(.23,1,.32,1);
}
.main-nav a.cta-btn:hover {
  background: var(--color-accent);
  color: var(--color-black);
}
.main-nav img {
  width: 152px;
  margin-right: 26px;
  margin-left: 0;
  display: block;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 31;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gray-300);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,19,23,0.96);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.23,1,.32,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  border: none;
  background: none;
  color: var(--color-white);
  margin: 28px 24px 8px 0;
  cursor: pointer;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(233,177,17,0.15);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-end;
  margin-top: 30px;
  padding-right: 48px;
  min-width: 220px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 500;
  background: none;
  padding: 13px 18px;
  border-radius: 9px;
  transition: color 0.23s, background 0.23s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(233,177,17,0.10);
  outline: none;
}
@media (max-width: 1079px) {
  .main-nav a.cta-btn {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .main-nav img { width: 110px; margin-right: 10px; }
  .main-nav {
    gap: 14px;
    padding: 12px 10px;
    font-size: 0.99rem;
  }
}
@media (max-width: 840px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========================================================================
   FOOTER
   ===================================================================== */
footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 0 0 14px 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  margin-top: 90px;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 20px 20px 20px;
}
.footer-main img {
  width: 62px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--color-white);
  font-size: 1.07rem;
  font-family: 'Montserrat', sans-serif;
  background: none;
  border-radius: 6px;
  padding: 8px 7px;
  transition: color 0.18s, background 0.18s;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.96rem;
  color: #dadada;
  align-items: center;
}

/* ========================================================================
   COMPONENTS – BUTTONS, BADGES, PRICING TAGS
   ===================================================================== */
.cta-btn {
  background: var(--color-accent);
  color: var(--color-black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 14px 36px;
  border: none;
  border-radius: 8px;
  font-size: 1.18rem;
  box-shadow: 0 2px 8px rgba(233,177,17,0.15);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.20s;
  display: inline-block;
  margin: 10px 0 0 0;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(13,58,92,0.14);
  outline: none;
}
.service-price {
  font-size: 1.12rem;
  color: var(--color-accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 10px;
}

/* ========================================================================
   TESTIMONIALS, RATINGS, SUCCESS CARDS
   ===================================================================== */
.testimonials h2, .success-stories-section h2 {
  color: var(--color-brand);
}
.testimonial-slider, .success-story-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card, .success-story-cards .testimonial-card {
  background: var(--color-gray-200);
  color: var(--color-black);
  min-width: 260px;
  max-width: 400px;
  box-shadow: 0 2px 12px 0 rgba(30,30,30,0.07);
  border-radius: 14px;
  padding: 24px 22px 22px 22px;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.18s, transform 0.12s;
  will-change: box-shadow, transform;
}
.testimonial-card:hover {
  box-shadow: 0 5px 36px 0 rgba(18,58,92,0.17);
  transform: translateY(-4px) scale(1.023);
}
.testimonial-card .ratings {
  display: flex;
  gap: 1px;
  align-items: center;
  margin-bottom: 8px;
}
.testimonial-card .ratings img {
  width: 22px;
  height: 22px;
}
.testimonial-card span {
  color: var(--color-brand);
  font-size: 0.97rem;
  margin-top: 8px;
}
.testimonial-card h3 {
  color: var(--color-brand);
  font-size: 1.14rem;
}

/* ========================================================================
   FAQ, LISTS, TABLES, TEXT BLOCKS
   ===================================================================== */
.faq-list {
  gap: 26px;
  flex-wrap: wrap;
}
.faq-item {
  background: var(--color-gray-100);
  border-left: 5px solid var(--color-accent);
  padding: 18px 16px 15px 21px;
  border-radius: 11px;
  box-shadow: 0 2px 7px rgba(24,24,26,0.06);
}
.privacy-section .text-section,
.gdpr-section .text-section,
.terms-section .text-section,
.cookie-policy-section .text-section {
  background: var(--color-white);
  padding: 24px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20,30,34,0.07);
  margin-bottom: 18px;
  color: var(--color-black);
}

/* ========================================================================
   CONTACT AREA
   ===================================================================== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.address-details, .email-details, .hours-details {
  font-size: 1.09rem;
  color: var(--color-primary);
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  min-width: 220px;
}
.email-details a {
  color: var(--color-brand);
  font-weight: 600;
  word-break: break-all;
  text-decoration: underline;
}
.email-details a:hover {
  color: var(--color-accent);
}

/* ========================================================================
   COOKIE BANNER & COOKIE PREFERENCES MODAL
   ===================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 -2px 16px 0 rgba(18, 58, 92, 0.07);
  padding: 26px 24px 22px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  min-height: 78px;
  border-radius: 18px 18px 0 0;
  animation: cookiebanner-in 0.44s cubic-bezier(.23,1,.32,1);
}
@keyframes cookiebanner-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0 30px 0 0;
  flex: 2 1 250px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1 1 auto;
}
.cookie-btn {
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  font-size: 1.02rem;
  cursor: pointer;
  color: var(--color-white);
  background: var(--color-brand);
  box-shadow: 0 1px 8px rgba(18,58,92,0.08);
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-black);
}
.cookie-btn.reject {
  background: var(--color-gray-500);
  color: var(--color-white);
}
.cookie-btn.settings {
  background: var(--color-brand);
  color: var(--color-white);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.1);
  outline: none;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,19,23,0.63);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieoverlay-in 0.4s cubic-bezier(.23,1,.32,1);
}
@keyframes cookieoverlay-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  padding: 40px 32px;
  min-width: 320px;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(50,50,70,0.16);
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 98vw;
  animation: cookiemodal-in 0.35s cubic-bezier(.23,1,.32,1);
  position: relative;
  align-items: flex-start;
}
@keyframes cookiemodal-in {
  from { transform: scale(0.90); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-brand);
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: var(--color-gray-400);
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.23s;
}
.cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--color-white);
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle:checked::after {
  left: 20px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 19px;
  margin-top: 10px;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--color-black);
  font-size: 1.9rem;
  position: absolute;
  top: 16px;
  right: 18px;
  cursor: pointer;
  transition: color 0.15s;
  border-radius: 7px;
  width: 42px;
  height: 42px;
}
.cookie-modal .modal-close:hover {
  color: var(--color-accent);
}

/* ========================================================================
   RESPONSIVE LAYOUTS & FLEX ADJUSTMENTS
   ===================================================================== */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 900px) {
  .container { max-width: 720px; }
  .content-grid, .feature-grid, .service-cards, .service-list,
  .team-grid, .success-story-cards, .faq-list, .step-list {
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .content-grid, .feature-grid, .service-cards, .service-list,
  .team-grid, .success-story-cards, .faq-list, .step-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  /* Typography scale smaller on mobile */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section,
  .about-section, .team-section, .services-section, .privacy-section, .gdpr-section, .terms-section, .cookie-policy-section {
    margin-bottom: 40px;
    padding: 20px 8px;
  }
  .hero {
    padding: 36px 0 30px 0;
    border-radius: 0 0 18px 18px;
  }
  .feature-item,
  .service-card,
  .service-details,
  .team-member,
  .faq-item,
  .step-item,
  .testimonial-card{
    min-width: 0;
    max-width: 100%;
    padding: 18px 12px;
  }
  .testimonial-card{
    padding: 20px 10px 16px 10px;
  }
  .cta-btn {
    padding: 11px 18px;
    font-size: 1rem;
  }
  .footer-main {
    padding: 24px 5px 17px 5px;
    gap: 18px;
  }
}
@media (max-width: 650px) {
  .container { padding: 0 5px; }
  .content-wrapper { gap: 14px; }
  .section {
    padding: 16px 2px;
    margin-bottom: 27px;
  }
  .cta {
    border-radius: 12px 12px 0 0;
    padding: 18px 4px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    min-height: unset;
    align-items: flex-start;
    border-radius: 11px 11px 0 0;
    padding: 12px 10px 7px 10px;
  }
  .cookie-banner p { margin-bottom: 6px; }
}

/* Text-Image Section mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 14px; align-items: stretch; }
}

/* Contact info stack */
@media (max-width: 700px) {
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================================================
   ANIMATIONS, HOVER/FOCUS EFFECTS FOR CTA, BUTTONS, CARDS
   ===================================================================== */
.card, .feature-item, .service-card, .service-details, .team-member, .faq-item, .step-item {
  transition: box-shadow 0.18s, transform 0.10s;
  will-change: box-shadow, transform;
}
.card:hover, .feature-item:hover, .service-card:hover, .service-details:hover, .team-member:hover, .faq-item:hover, .step-item:hover {
  box-shadow: 0 7px 32px 0 rgba(18,58,92,0.13);
  transform: translateY(-2px) scale(1.012);
}

.cta-btn:active {
  filter: brightness(0.98);
  transform: scale(0.97);
}

/* ========================================================================
   PRINT & SELECTION
   ===================================================================== */
::selection {
  background: var(--color-accent);
  color: var(--color-black);
}

/* ========================================================================
   UTILITY/MISC RESETS
   ===================================================================== */
[hidden], .hidden { display: none !important; }

/* VISUALLY HIDDEN ACCESSIBILITY */
.visually-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0,0,0,0)!important; border: 0 !important;
}

/* ================= END MONOCHROME SOPHISTICATED UI THEME ================= */