/* 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.5;
  font-size: 16px;
  box-sizing: border-box;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: #1A2229;
  color: #F4ECE5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A38967;
  outline-offset: 2px;
}

/* CUSTOM PROPERTIES (with fallbacks) */
:root {
  --primary: #24313C;
  --primary-dark: #19222A;
  --secondary: #A38967;
  --secondary-light: #deceb5;
  --accent: #F4ECE5;
  --neon: #59f3e8;
  --brand-shadow: 0 4px 24px rgba(36,49,60,0.15);
  --border-radius: 18px;
  --font-display: 'Bitter', serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* BASE TYPOGRAPHY */
h1 {
  font-family: var(--font-display), serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: var(--neon);
  text-shadow: 0 2px 16px rgba(89,243,232,0.08);
}
h2 {
  font-family: var(--font-display), serif;
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 18px;
  color: var(--accent);
  position: relative;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
}
p, li, ol, ul {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
}
strong {
  color: var(--neon);
  font-weight: 600;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(36,49,60,0.90);
  border-radius: var(--border-radius);
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero {
  background: linear-gradient(120deg, #24313C 75%, #212B34 100%);
  box-shadow: 0 6px 28px 0 rgba(89,243,232, 0.07);
  border: 1px solid #303e48;
  border-radius: var(--border-radius);
  align-items: flex-start;
}

/* NAVIGATION */
header {
  background: #19222A;
  border-bottom: 2px solid var(--secondary-light);
  box-shadow: 0 2px 24px 0 rgba(36,49,60,0.18);
  padding: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(164,137,103,0.08));
  transition: filter 0.2s;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
nav a {
  color: var(--accent);
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s;
}
nav a:hover,
nav a.active {
  color: var(--neon);
  background: #26303d;
}
nav a.cta-primary {
  background: var(--neon);
  color: var(--primary);
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(89,243,232,0.18);
  margin-left: 12px;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav a.cta-primary:hover {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 2px 24px 0 rgba(164,137,103,0.12);
}

/* BURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--neon);
  cursor: pointer;
  margin-left: 10px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--neon);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,34,41,0.98);
  z-index: 3000;
  padding-top: 30px;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.83,0,0.17,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: var(--neon);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 30px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.3rem;
  padding: 13px 26px;
  border-radius: 4px;
  transition: background 0.23s, color 0.23s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover {
  background: #282f36;
  color: var(--neon);
}

@media (max-width: 1100px) {
  header .container {
    padding: 0 12px;
  }
}
@media (max-width: 920px) {
  nav {
    gap: 10px;
  }
  nav a {
    font-size: 0.97rem;
    padding: 6px 10px;
  }
  .logo img {
    height: 38px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 8px;
  }
}

/* MAIN SECTIONS AND LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #262d34;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(36,49,60,0.07);
  transition: box-shadow 0.22s, border 0.2s;
  position: relative;
  padding: 28px 22px;
  border: 1.5px solid #313c46;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(89,243,232,0.19);
  border: 1.5px solid var(--neon);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4ECE5;
  color: #24313C;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(36,49,60,0.08);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  flex: 1 1 230px;
  min-width: 230px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,49,60,0.18);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-user {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Button + Links */
.cta-primary,
button,
input[type="button"],
input[type="submit"] {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 13px 34px;
  background: var(--neon);
  color: var(--primary);
  box-shadow: 0 4px 20px 0 rgba(89,243,232,0.13);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  transition: background 0.22s, color 0.22s, box-shadow 0.25s, transform 0.11s;
}
.cta-primary:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #A38967;
  color: #fff;
  box-shadow: 0 6px 26px 0 rgba(36,49,60,0.24);
  transform: translateY(-2px) scale(1.04);
}
.cta-primary:focus,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
  outline: 2px solid var(--neon);
}

button[disabled], .cta-primary[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

input[type="search"] {
  appearance: none;
  border-radius: 12px;
  border: 1.5px solid var(--neon);
  background: #212b31;
  color: var(--accent);
  padding: 13px 22px;
  font-size: 1.13rem;
  width: 100%;
  max-width: 360px;
  margin-bottom: 18px;
  transition: border-color 0.19s, box-shadow 0.15s;
  outline: 0;
  box-shadow: 0 2px 10px 0 rgba(89,243,232,0.07);
}
input[type="search"]:focus {
  border-color: var(--secondary);
  box-shadow: 0 3px 14px 0 rgba(164,137,103,0.12);
}
::placeholder {
  color: #a2b7c6;
  opacity: 1;
}

.service-price {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 15px;
  background: #26303d;
  color: var(--neon);
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 1px 7px rgba(89,243,232,0.08);
}

ul > li, ol > li {
  margin-bottom: 13px;
  padding-left: 0;
}
ul > li::before, ol > li::before {
  display: none;
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: var(--accent);
  padding: 44px 0 18px 0;
  box-shadow: 0 -3px 14px 0 rgba(36,49,60,0.05);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 22px;
}
.footer-brand,
.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-body);
}
.footer-brand img {
  height: 36px;
  margin-bottom: 6px;
}
.footer-links a {
  color: var(--neon);
  font-size: 1.01rem;
  margin-right: 10px;
  display: inline-block;
  line-height: 1.5;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--secondary-light);
}
.footer-social a {
  display: inline-block;
  margin-right: 12px;
}
.footer-social img {
  height: 38px;
  filter: drop-shadow(0 2px 8px rgba(89,243,232,0.08));
  transition: filter 0.2s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 2px 16px rgba(164,137,103,0.14));
}
.footer-meta {
  text-align: center;
  font-size: 0.97rem;
  color: var(--accent);
  margin-top: 4px;
}

/* Special utility classes and responsive layouts */
@media (max-width: 992px) {
  .footer-grid {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .content-wrapper,
  .hero {
    padding: 18px 8px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    min-width: unset;
  }
}
@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.4rem;
  }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
}

/* Cookie Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background: #232e36;
  color: var(--accent);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 32px rgba(36,49,60,0.3);
  padding: 28px 22px 18px 22px;
  z-index: 4000;
  min-width: 270px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookieBannerIn 0.4s ease;
}
@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(100px) translateX(-50%); }
  to { opacity: 1; transform: translateY(0) translateX(-50%); }
}
.cookie-banner button,
.cookie-banner .cta-primary {
  margin: 0 8px;
  padding: 10px 22px;
  background: var(--neon);
  color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(89,243,232,0.14);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, transform 0.12s;
}
.cookie-banner button:hover,
.cookie-banner .cta-primary:hover {
  background: #A38967;
  color: #fff;
  transform: translateY(-2px);
}
.cookie-banner .secondary {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-banner .secondary:hover {
  background: var(--secondary-light);
  color: var(--primary);
}
.cookie-banner .settings {
  background: #232e36;
  color: var(--neon);
  border: 1.3px solid var(--neon);
}
.cookie-banner .settings:hover {
  background: #19222A;
  color: #A38967;
}
/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,49,60,0.82);
  animation: fadeModalBg 0.27s ease;
}
@keyframes fadeModalBg {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 4200;
  background: #232e36;
  color: var(--accent);
  border-radius: 16px;
  box-shadow: 0 6px 36px 0 rgba(36,49,60,0.36);
  width: 92vw;
  max-width: 430px;
  padding: 34px 24px 18px 24px;
  animation: cookieModalIn 0.28s cubic-bezier(0.83,0,0.17,1);
  display: flex;
  flex-direction: column;
  gap: 13px;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.85) translate(-50%, -44%); }
  to   { opacity: 1; transform: scale(1) translate(-50%, -50%); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--neon);
  margin-bottom: 8px;
}
.cookie-modal .category-list {
  margin: 15px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .category-item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #2d3841;
  border-radius: 9px;
  padding: 10px 12px;
}
.cookie-modal .category-item label {
  flex: 1 1 0;
  color: var(--accent);
  font-size: 1.07rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--neon);
  width: 22px;
  height: 22px;
  margin-right: 10px;
}
.cookie-modal .explain {
  color: #cecece;
  font-size: 0.98rem;
  margin-left: 36px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.cookie-modal .btn-cancel {
  background: #232e36;
  color: var(--neon);
  border: 1px solid var(--neon);
}
.cookie-modal .btn-cancel:hover {
  background: #1e2932;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 7px 10px 7px;
    max-width: 95vw;
  }
}

/* MICRO-INTERACTIONS and HOVERS */
.card, .testimonial-card, .cta-primary, button, .mobile-nav a, input[type="search"] {
  transition: box-shadow 0.17s, border 0.16s, color 0.15s, background 0.12s, transform 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(164,137,103,0.15), 0 1.5px 12px 0 rgba(89,243,232,0.1);
}
input[type="search"]:hover {
  box-shadow: 0 2px 14px 0 rgba(89,243,232,0.12);
}

/* RESPONSIVE ORDERS AND LAYOUT */
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 18px 0;
   }
   .container {
     padding: 0 4px;
   }
   .content-wrapper,
   .hero {
    gap: 13px;
    padding: 10px 4px;
   }
   .footer-links, .footer-meta {
     text-align: left;
   }
}

/* SCROLLBAR STYLING FOR MODALS & NAV */
::-webkit-scrollbar {
  width: 7px;
  background: #232e36;
}
::-webkit-scrollbar-thumb {
  background: #373a3d;
  border-radius: 8px;
}

/* ACCESSIBILITY FOCUS */
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

/* VISUAL EFFECTS - TECH FUTURISTIC */
.hero, .content-wrapper, .card, .testimonial-card, .cookie-modal {
  position: relative;
  overflow: hidden;
}
.hero::before,
.content-wrapper::before,
.card::before,
.testimonial-card::before,
.cookie-modal::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: -80px;
  right: -80px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at center, rgba(89,243,232,0.29) 0%, rgba(36,49,60,0.03) 100%);
  filter: blur(6px);
}
.card::before {
  right: -50px; top: -50px; width: 120px; height: 120px;
  background: radial-gradient(circle at center, rgba(164,137,103,0.11) 0%, rgba(36,49,60,0.0) 100%);
}
.testimonial-card::before {
  left: -33px; top: -33px; right: auto;
  width: 63px; height: 63px;
  background: radial-gradient(circle at center, rgba(164,137,103,0.18) 0%, transparent 100%);
}
.cookie-modal::before {
  top: -36px; right: -36px; width: 70px; height: 70px;
  background: radial-gradient(circle at center, rgba(89,243,232,0.22) 0%, transparent 100%);
}

/* Table elements (future, just in case) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #24313C;
  color: var(--accent);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(36,49,60,0.08);
  margin-bottom: 22px;
  overflow: hidden;
}
th, td {
  padding: 12px 14px;
  border-bottom: 1px solid #303e48;
}
th {
  background: #212b31;
  color: var(--neon);
  font-family: var(--font-display);
}

/* Misc utility classes (optional for overrides) */
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }

/************************************************************

 ALL LAYOUTS ARE FLEXBOX ONLY! No grid, no columns used above.

 ************************************************************/
