/* ==== 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #1A1A2E;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}

/* === SCROLLBAR MINIMALISM === */
body {
  scrollbar-width: thin;
  scrollbar-color: #E94560 #F5F6FA;
}
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: #E94560;
  border-radius: 10px;
}
body::-webkit-scrollbar-track {
  background: #F5F6FA;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial', sans-serif;
  color: #1A1A2E;
  letter-spacing: 0.01em;
  font-weight: 600;
}
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: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol, table, blockquote {
  font-size: 1rem;
  margin-bottom: 1.2em;
}
p.subheadline {
  color: #616180;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 400;
}
strong, b {
  font-weight: bold;
}

/* ==== LINKS ==== */
a {
  transition: color .15s, background .2s;
}
a:hover, a:focus {
  color: #E94560;
}

/* ==== CONTAINER ==== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(26,26,46,0.04);
  position: sticky;
  top: 0;
  z-index: 1050;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 1rem;
  color: #1A1A2E;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #F5F6FA;
  color: #E94560;
}

/* Primary CTA in header */
.cta-primary {
  background: #E94560;
  color: #fff;
  border-radius: 6px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.07rem;
  padding: 10px 22px;
  font-weight: 600;
  box-shadow: 0 2px 32px rgba(233,69,96,0.13);
  transition: background .18s, box-shadow .18s, color .18s, transform .13s;
  display: inline-block;
  letter-spacing: 0.02em;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1A1A2E;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 32px rgba(233,69,96,0.18);
}

.cta-secondary {
  background: #fff;
  border: 1px solid #E94560;
  color: #E94560;
  border-radius: 6px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 19px;
  box-shadow: 0 1px 8px rgba(26,26,46,0.06);
  transition: background .16s, color .16s, border .16s;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E94560;
  color: #fff;
  border-color: #E94560;
}

header img {
  height: 38px;
  width: auto;
  margin: 10px 0;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 7px 16px;
  border: 1px solid #E94560;
  color: #E94560;
  transition: background .18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E94560;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  z-index: 1300;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.68,-0.01,.17,1), opacity .22s;
  box-shadow: 0 4px 40px rgba(26,26,46,0.12);
  padding: 38px 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 2.1rem;
  background: #fff;
  color: #E94560;
  border-radius: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  display: flex;
  border: none;
  transition: background .16s;
  z-index: 1320;
  box-shadow: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F5F6FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: 60px;
  padding: 0 30px;
}
.mobile-nav a {
  font-size: 1.15rem;
  padding: 17px 0;
  border-bottom: 1px solid #F5F6FA;
  color: #1A1A2E;
  letter-spacing: 0.01em;
  transition: background .14s, color .16s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F6FA;
  color: #E94560;
  border-radius: 3px;
}

@media (max-width: 1100px) {
  header .container {
    gap: 18px;
    min-height: 62px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 870px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 12px;
  }
}
@media (min-width: 871px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== MAIN ==== */
main {
  min-height: 70vh;
  background: #F5F6FA;
  padding-bottom: 40px;
}

/* ==== SECTIONS & SPACING ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  position: relative;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 800px) {
  section {
    padding: 28px 0 0 0;
    margin-bottom: 40px;
  }
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 20px;
}
.text-section {
  flex: 1 1 400px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 700px) {
  .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
}

/* === FLEX DEFINITIONS FROM DESIGN SYSTEM === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(26,26,46,.09);
  padding: 28px 26px;
  position: relative;
  flex: 1 1 340px;
  min-width: 240px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(26,26,46,.13);
  transform: translateY(-4px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 22px;
  background: #fff;
  color: #22223B;
  border-radius: 13px;
  box-shadow: 0 2px 16px rgba(26,26,46,0.09);
  max-width: 480px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  position: relative;
}
.testimonial-card .testimonial-name {
  font-weight: 500;
  color: #1A1A2E;
  font-size: 0.98rem;
}
.star-rating {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 2px;
  color: #E94560;
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 18px 10px;
    font-size: 0.97rem;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* ==== HERO SECTION ==== */
.hero {
  background: #fff;
  box-shadow: 0 2px 26px rgba(26,26,46,0.05);
  border-radius: 18px;
  padding: 60px 0 50px 0;
  margin-bottom: 50px;
  text-align: center;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  display: flex;
  gap: 22px;
}
.hero h1 {
  font-size: 2.6rem;
  max-width: 700px;
  margin: 0 auto 22px;
}
.hero .subheadline { margin-bottom: 20px; }
@media (max-width: 600px) {
  .hero {
    padding: 36px 0 22px 0;
    border-radius: 8px;
  }
  .hero h1 { font-size: 2.0rem; }
}

/* ==== FEATURE GRID ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(26,26,46,0.07);
  padding: 26px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .16s, transform .15s;
  margin-bottom: 10px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 30px rgba(26,26,46,0.14);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  font-size: 1.19rem;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: 'Oswald', Arial, sans-serif;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 12px;
  }
  .feature-grid li {
    min-width: 150px;
    max-width: 100%;
    padding: 17px 10px 12px 16px;
  }
}

/* ==== VALUE LISTS AND PROCESS ==== */
.value-list, .service-list, .faq-list, .process-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.value-list li, .faq-list li {
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(26,26,46,0.07);
}
.service-list li {
  padding: 24px 22px 14px 22px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(26,26,46,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.service-list h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.price-badge {
  background: #E94560;
  color: #fff;
  border-radius: 5px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  padding: 3.5px 10px;
  margin-left: 6px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.process-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  background: #fff;
  border-radius: 9px;
  padding: 15px 16px;
  box-shadow: 0 2px 10px rgba(26,26,46,0.06);
}
.process-list img { width: 22px; height: 22px; }

/* ==== PRICE TABLE ==== */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(26,26,46,0.07);
  margin-bottom: 30px;
  overflow: hidden;
  font-size: 1.02rem;
}
.price-table th, .price-table td {
  padding: 13px 17px;
  text-align: left;
}
.price-table th {
  background: #F5F6FA;
  color: #1A1A2E;
  font-size: 1.09rem;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.price-table tr:nth-child(even) td {
  background: #F5F6FA;
}
@media (max-width: 700px) {
  .price-table th,
  .price-table td {
    padding: 9px 8px;
    font-size: 0.97rem;
  }
}

/* ==== CTA BANNER ==== */
.cta-banner {
  background: #1A1A2E;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(26,26,46,0.13);
  padding: 48px 30px;
  text-align: center;
  margin: 34px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 850px;
}
.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 10px;
}
.cta-banner p {
  color: #e6e6f2;
  font-size: 1.18rem;
  margin-bottom: 22px;
  font-weight: 400;
}
@media (max-width: 600px) {
  .cta-banner {
    padding: 27px 10px;
    border-radius: 10px;
  }
  .cta-banner h2 {
    font-size: 1.2rem;
  }
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  border-top: 1px solid #ececf8;
  margin-top: 40px;
  padding: 28px 0;
  font-size: 1rem;
  color: #888899;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.main-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.main-footer-links a {
  color: #1A1A2E;
  font-size: 1rem;
  padding: 6px 9px;
  border-radius: 5px;
  transition: background .16s, color .16s;
}
.main-footer-links a:hover, .main-footer-links a:focus {
  background: #F5F6FA;
  color: #E94560;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: #22223B;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .footer-brand {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ========== FORMS/TABLES ========== */
input, textarea, select {
  width: 100%;
  background: #fff;
  border: 1px solid #ececf8;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 1rem;
  color: #1A1A2E;
  margin-bottom: 18px;
  transition: border .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E94560;
  box-shadow: 0 0 0 2px rgba(233,69,96,.13);
}

label {
  font-size: 1rem;
  margin-bottom: 5px;
  display: block;
  color: #1A1A2E;
  font-weight: 500;
}

/* ========== MICRO-INTERACTIONS ========== */
button, .cta-primary, .cta-secondary {
  transition: background .16s, color .16s, border .15s, box-shadow .18s, transform .13s;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: #22223B;
  border-top: 1px solid #ececf8;
  box-shadow: 0 -6px 32px rgba(26,26,46,0.10);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 8px 17px 8px;
  gap: 28px;
  transition: transform .36s cubic-bezier(.68,-0.01,.17,1), opacity .18s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  max-width: 520px;
  font-size: 1rem;
  color: #22223B;
}
.cookie-banner__buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner__button {
  background: #E94560;
  color: #fff;
  border-radius: 5px;
  padding: 9px 17px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  border: none;
  transition: background .14s, color .14s;
}
.cookie-banner__button.cookie-reject {
  background: #F5F6FA;
  color: #E94560;
  border: 1px solid #E94560;
}
.cookie-banner__button.cookie-settings {
  background: #fff;
  color: #1A1A2E;
  border: 1px solid #1A1A2E;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: #1A1A2E;
  color: #fff;
  border-color: #1A1A2E;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.97rem;
  }
  .cookie-banner__buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ========== COOKIE MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,26,46,0.42);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #1A1A2E;
  border-radius: 12px;
  box-shadow: 0 8px 56px rgba(26,26,46,0.17);
  padding: 42px 32px 28px 32px;
  min-width: 314px;
  max-width: 95vw;
  z-index: 2110;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: fadeInModal .33s;
}
@keyframes fadeInModal {
  from {transform: scale(0.85) translateY(40px); opacity: 0;}
  to   {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  font-size: 1.4rem;
  color: #E94560;
  border: none;
}
.cookie-modal-title {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E94560;
  width: 21px;
  height: 21px;
  margin-right: 4px;
}
.cookie-category.essential label {
  color: #bbb;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

/* ===== UTILITIES ===== */
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ======= ACCESSIBLE FOCUS ======= */
a:focus, button:focus, input:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-banner__button:focus {
  outline: 2px solid #E94560;
  outline-offset: 2px;
}

/* ======= MISC MINIMAL ELEMENTS ======= */
blockquote {
  border-left: 3px solid #E94560;
  color: #5a5a73;
  background: #f8f8fc;
  padding: 12px 17px;
  margin-bottom: 18px;
  border-radius: 5px;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 32px 0;
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.95em;
  padding: 1px 6px;
  background: #F5F6FA;
  border-radius: 5px;
}

/* ======= RESPONSIVE FONTS AND SPACING ======= */
@media (max-width: 480px) {
  h1 { font-size: 1.4rem !important; }
  h2 { font-size: 1.09rem !important; }
  h3 { font-size: 1rem !important; }
  .cta-banner h2 { font-size: 1.1rem; }
}

/* ========== END CSS ========== */
