/* ===============================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #151515;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===============================
   BASE TYPOGRAPHY & VARIABLES
   =============================== */
:root {
  --primary-color: #102752;
  --secondary-color: #44BFA3;
  --accent-color: #F3F7F8;
  --bg-dark: #151515;
  --bg-light: #fff;
  --text-main: #151515;
  --text-light: #fff;
  --text-gray: #65676F;
  --border-gray: #E2E4E8;
  --shadow-soft: 0 4px 24px rgba(16, 39, 82, 0.04);
  --shadow-strong: 0 2px 16px rgba(16, 39, 82, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--bg-light);
  color: var(--text-main);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}
strong {
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  p, li { font-size: 0.97rem; }
}

/* ===============================
   CONTAINER, SECTION & SPACING
   =============================== */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: var(--bg-light);
  padding: 32px;
  min-width: 260px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.015);
}
@media (max-width: 600px) {
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    padding: 20px;
    min-width: unset;
  }
}

.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;
  padding: 20px 0;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.section ul, .section ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section ul li, .section ol li {
  padding-left: 0;
  font-size: 1rem;
}

/* ===============================
   HEADER NAVIGATION & BRANDING
   =============================== */
header {
  width: 100%;
  background: var(--bg-dark);
  padding: 0;
  color: var(--text-light);
  box-shadow: 0 2px 10px 0 rgba(16, 39, 82, 0.06);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  max-width: 1140px;
  margin: 0 auto;
  gap: 32px;
}
.main-nav > a img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.main-nav li {
  font-family: var(--font-display);
  font-size: 1rem;
}
.main-nav a {
  color: var(--text-light);
  position: relative;
  transition: color var(--transition);
  padding: 5px 2px;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary-color);
  background: rgba(255,255,255,0.04);
}
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 18px;
  }
}

/* ===============================
   MOBILE NAVIGATION
   =============================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--text-light);
  margin-right: 18px;
  z-index: 300;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--secondary-color);
}
.mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 12px;
    top: 16px;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #17191c;
    align-items: flex-start;
    padding: 28px 24px 48px 24px;
    z-index: 2200;
    transform: translateX(-100vw);
    transition: transform 0.34s cubic-bezier(.45,.05,.18,1);
    box-shadow: 4px 0 24px 2px rgba(16,39,82,0.17);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    font-size: 2rem;
    color: var(--text-light);
    background: none;
    border: none;
    margin-bottom: 14px;
    transition: color var(--transition);
  }
  .mobile-menu-close:focus,
  .mobile-menu-close:hover {
    color: var(--secondary-color);
  }
  .mobile-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
  }
  .mobile-nav a {
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 1.26rem;
    padding: 14px 0 14px 4px;
    border-radius: 6px;
    background: none;
    transition: background var(--transition), color var(--transition);
  }
  .mobile-nav a:focus,
  .mobile-nav a:hover {
    color: var(--secondary-color);
    background: rgba(255,255,255,0.06);
  }
}

/* ===============================
   HERO SECTIONS
   =============================== */
.hero {
  background: linear-gradient(94deg, #fff 50%, #f3f7f8 100%);
  border-bottom: 1px solid var(--border-gray);
  padding: 64px 0 32px 0;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: 580px;
}
.hero h1 {
  color: var(--primary-color);
  font-size: 2.7rem;
  margin-bottom: 0.7em;
  letter-spacing: -0.01em;
}
.hero p {
  color: var(--text-gray);
  font-size: 1.17rem;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .hero {
    padding: 36px 0 18px 0;
  }
  .hero .content-wrapper {
    gap: 12px;
    max-width: 99%;
  }
  .hero h1 {
    font-size: 1.38rem;
  }
}

/* ===============================
   CTA BUTTONS
   =============================== */
.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 34px;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 10px rgba(16,39,82,0.06);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 10px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 7px 24px rgba(16,39,82,0.15);
  transform: translateY(-2px) scale(1.01);
}

/* ===============================
   FEATURES / SERVICES
   =============================== */
.features, .services {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: transparent;
}
.features .content-wrapper, .services .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.features ul, .services ul {
  gap: 17px;
  font-size: 1.04rem;
  color: var(--text-main);
}
.features li strong, .services li strong {
  color: var(--primary-color);
}
.features li span, .services li span {
  font-size: 0.97rem;
  color: var(--secondary-color);
  font-weight: 600;
}
@media (max-width: 768px) {
  .features, .services {
    padding: 18px 0 0 0;
    margin-bottom: 36px;
  }
}

/* ===============================
   TESTIMONIAL CARDS
   =============================== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 0;
  background: var(--accent-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.testimonials .container {
  max-width: 800px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: var(--primary-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 20px 26px;
  min-width: 260px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--border-gray);
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1.17rem;
  color: var(--secondary-color);
  line-height: 1;
}
.testimonial-card p {
  color: var(--primary-color);
  font-size: 1.03rem;
  margin: 0;
}
.testimonial-card strong {
  font-weight: 700;
  color: #484848;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px) scale(1.02);
}
@media (max-width: 900px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 48px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--secondary-color);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  text-align: center;
  color: #eaeef2;
  font-size: 0.97rem;
  margin-bottom: 4px;
}
.footer-contact a {
  color: var(--secondary-color);
  text-decoration: underline;
  word-break: break-all;
}
footer img {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  display: block;
  filter: grayscale(1) contrast(1.1);
}
@media (max-width: 600px) {
  footer {
    padding: 28px 0 14px 0;
  }
  .footer-nav {
    gap: 14px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* ===============================
   LEGAL/THANK-YOU/INFO SECTIONS
   =============================== */
.legal, .thank-you, .about, .team, .contact, .cta {
  margin-bottom: 60px;
  padding: 40px 0;
  background: var(--bg-light);
}
.legal .container,
.thank-you .container,
.about .container,
.team .container,
.contact .container,
.cta .container {
  max-width: 760px;
}
.legal .content-wrapper,
.thank-you .content-wrapper,
.about .content-wrapper,
.team .content-wrapper,
.contact .content-wrapper,
.cta .content-wrapper {
  gap: 24px;
}

/* ===============================
   COOKIE CONSENT BANNER/MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #fbfbfb;
  color: var(--primary-color);
  border-top: 1px solid var(--border-gray);
  box-shadow: 0 -2px 24px rgba(16,39,82,.06);
  z-index: 5000;
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  transition: transform 0.32s ease, opacity 0.29s ease;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--primary-color);
  margin-right: 12px;
  flex: 1 1 auto;
  max-width: 500px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary-color);
  color: var(--text-light);
  padding: 10px 21px;
  border: 1px solid var(--primary-color);
  margin: 0 2px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 5px rgba(16,39,82,0.04);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.cookie-btn.settings {
  background: none;
  color: var(--primary-color);
  border: none;
  box-shadow: none;
  padding: 10px 10px;
  font-size: 0.97rem;
  text-decoration: underline;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: var(--secondary-color);
  background: none;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    padding: 12px 6px;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 8px;
    justify-content: flex-end;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(16,39,82,0.4);
  display: none;
  z-index: 5100;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.show {
  display: flex;
  animation: cookieFadeIn 0.3s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(16,39,82,0.18);
  max-width: 410px;
  padding: 32px 24px 24px 24px;
  position: relative;
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeUp 0.28s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.7rem;
  color: var(--primary-color);
  background: none;
  border: none;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary-color);
}
.cookie-modal h3 {
  margin: 0 0 4px 0;
  font-size: 1.2rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
}
.cookie-category .always-enabled {
  color: #999;
  font-size: 0.95rem;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 18px 6px 16px 8px;
  }
}

/* ===============================
   MISC/ELEMENT UTILS
   =============================== */
[tabindex]:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 12px;
  background: #f4f4f4;
}
::-webkit-scrollbar-thumb {
  background: #eee;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}
::selection {
  background: var(--secondary-color);
  color: #fff;
}

/* ===============================
   ANIMATIONS
   =============================== */
.cta-button,
.card,
.testimonial-card,
.cookie-banner,
.mobile-menu,
.cookie-modal {
  will-change: transform, box-shadow, opacity;
}

/* ===============================
   MONOCHROME SOPHISTICATED STYLE
   =============================== */
body, .hero, .section, .card, .testimonial-card, .features, .services, .about, .team, .contact, .cta, .legal, .thank-you {
  background: #fff;
  color: #181818;
}
h1, h2, h3, h4, h5 {
  color: #070b16;
}
p, li, ul, span, label {
  color: #36394a;
}
footer, header {
  background: #14151a;
  color: #fff;
}
.cta-button, .cookie-btn {
  background: #070b16;
  color: #fff;
}
.cta-button:hover, .cookie-btn:hover, .cta-button:focus, .cookie-btn:focus {
  background: #36394a;
  color: #fff;
}
.card, .testimonial-card {
  background: #fafbfc;
  border: 1px solid #e6e7eb;
  color: #15171c;
}
.card strong, .testimonial-card strong {
  color: #101010;
}

/* ===============================
   ACCESSIBILITY ENSURED
   =============================== */
@media (max-width: 475px) {
  .hero, .section, .card, .testimonial-card, .features, .services, .about, .team, .contact, .cta, .legal, .thank-you {
    padding: 12px 2px;
  }
  .content-wrapper, .card-container {
    gap: 12px;
  }
}

/* END */
