/* ------------------------------
    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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background: #171b25;
  color: #BDC7D6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: color .18s; }
ul, ol { list-style: none; }

/* ------------------------------
      BRAND COLORS & FONTS
------------------------------ */
:root {
  --primary: #1E2533;
  --secondary: #BDC7D6;
  --accent: #FDCF28;
  --bg-gradient-dark: #171b25;
  --bg-gradient-mid: #232840;
  --neon-blue: #3ff0fc;
  --neon-pink: #ff3ace;
  --main-shadow: 0 4px 24px 0 rgba(25,44,77,.12);
  --main-radius: 16px;
  --transition: .24s cubic-bezier(.7,0,.33,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800&family=Roboto:wght@400;500;700&display=swap');


/* ------------------------------
         LAYOUT STRUCTURE
------------------------------ */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(30,37,51,.82);
  border-radius: var(--main-radius);
  padding: 32px 24px;
  box-shadow: var(--main-shadow);
  margin-top: 20px;
  margin-bottom: 20px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-height: 60vh;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(100deg, var(--bg-gradient-mid) 0%, var(--bg-gradient-dark) 100%);
  border-radius: var(--main-radius);
  box-shadow: 0 10px 40px rgba(30,37,51,0.08);
}

/* ------------------------------
               HEADER
------------------------------ */
header {
  background: linear-gradient(90deg, #232840 0%, #1e2533 100%);
  padding: 0;
  position: sticky;
  top: 0; z-index: 30;
  width: 100%;
  box-shadow: 0 2px 10px rgba(30,37,51,.16);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
}
.logo img { height: 42px; }
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  padding: 8px 4px;
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
nav a:hover, nav a:focus {
  color: var(--accent);
  background: rgba(253,207,40,0.10);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #232840;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  box-shadow: 0 2px 16px 0 rgba(253,207,40,0.10);
  margin-left: 18px;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffe764;
  color: #171b25;
  box-shadow: 0 4px 24px 0 rgba(253,207,40,0.17);
  transform: translateY(-2px) scale(1.025);
}
.cta-btn.secondary {
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--accent);
  color: #1e2533;
}

/* Burger menu toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 32px;
  cursor: pointer;
  margin-left: 24px;
  line-height: 1;
  z-index: 35;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  color: #ffe764;
  transform: scale(1.1);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,27,37, 0.97);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,0,.33,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 36px;
  margin: 24px 32px 0 0;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #ffe764;
  transform: rotate(45deg) scale(1.16);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 46px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 22px;
  font-weight: 600;
  padding: 14px 6px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(253,207,40,0.08);
  color: var(--accent);
}

/* ------------------------------
            TYPOGRAPHY
------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 { font-size: 2rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 12px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }

p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--secondary);
  margin-bottom: 8px;
  max-width: 800px;
}
strong { color: var(--accent); font-weight: 700; }
em, i { color: var(--neon-blue); }

ul, ol {
  margin-bottom: 14px;
  padding-left: 0;
}
ul li, ol li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--secondary);
  position: relative;
  padding-left: 18px;
}
ul li:before {
  content: '';
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--neon-blue));
  width: 7px;
  height: 7px;
  border-radius: 100%;
  position: absolute;
  left: 0;
  top: 9px;
  box-shadow: 0 0 8px var(--neon-blue);
}

/* Links in text */
p a, address a {
  text-decoration: underline;
  color: var(--neon-blue);
  transition: color .18s;
  word-break: break-all;
}
p a:hover, address a:hover {
  color: var(--accent);
}

/* Table styling (Products page) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #262d41;
  border-radius: 12px;
  box-shadow: 0 2px 12px #10152033;
  overflow: hidden;
  font-size: 16px;
}
thead th {
  background: var(--primary);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 14px 8px;
}
tbody td {
  color: var(--secondary);
  padding: 13px 8px;
  border-top: 1px solid #212537;
  text-align: center;
  background: #22273a;
}
tbody td:first-child {
  font-family: var(--font-display);
  color: #fff;
}

/* --------------------------
      CARD, GRID, FLEXBOX
----------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  min-width: 270px;
  max-width: 100%;
  background: #232840;
  border-radius: var(--main-radius);
  box-shadow: var(--main-shadow);
  padding: 26px 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(62,240,252,0.14),0 4px 18px var(--neon-blue);
  transform: translateY(-3px) scale(1.012);
}

.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: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 22px 0 rgba(62,240,252,0.08);
  margin-bottom: 20px;
  color: #202430;
  min-width: 0;
  flex: 1 1 330px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: #232840;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 40px 0 rgba(253,207,40,0.1), 0 2px 28px var(--accent);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* Services List styling */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.service-list > div {
  flex: 1 1 235px;
  min-width: 235px;
  background: #22273a;
  border-radius: 12px;
  box-shadow: 0 3px 14px #3ff0fc22;
  padding: 20px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-list > div:hover, .service-list > div:focus-within {
  box-shadow: 0 6px 28px 0 rgba(62,240,252,0.16), 0 4px 32px var(--accent);
  transform: translateY(-2.5px) scale(1.014);
}
.service-list h3 {
  color: var(--accent);
  font-size: 1.13rem;
  margin-bottom: 4px;
}
.service-list strong {
  color: var(--neon-blue);
  font-size: 1.12rem;
  font-family: var(--font-display);
}

/* Map placeholder styling */
.map-placeholder {
  min-height: 140px;
  width: 100%;
  background: linear-gradient(120deg, #232840 60%, #292f46 100%);
  border-radius: 8px;
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 14px;
  margin-bottom: 16px;
}

/* Address styling */
address {
  font-style: normal;
  background: #262d41;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1rem;
}
address strong {
  color: var(--accent);
}

/* ------------------------------
              FOOTER
------------------------------ */
footer {
  background: linear-gradient(90deg, var(--primary), #171b25 100%);
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 10;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding: 34px 20px;
}
footer nav {
  flex-direction: column;
  gap: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-menu a {
  font-size: 15px;
  color: #bcc8df;
  transition: color .16s;
  margin-bottom: 2px;
  font-family: var(--font-body);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
}
.footer-contact {
  font-size: 15px;
  color: #eaf0ff;
}
.footer-contact a { color: var(--neon-blue); text-decoration: underline; }
footer img { height: 38px; margin-bottom: 12px; }

/* ------------------------------
         COOKIE BANNER
------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  width: 100vw;
  background: linear-gradient(94deg, #232840 50%, #1e2533 95%);
  box-shadow: 0 -2px 24px #1e2533aa;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 24px 14px;
  transition: transform 0.35s ease, opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--secondary);
  font-size: 15px;
  max-width: 420px;
  margin: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 8px;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 4px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cookie-banner .accept {
  background: var(--accent);
  color: #212537;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ffe764;
}
.cookie-banner .reject {
  background: #232840;
  color: var(--secondary);
  border: 1.8px solid var(--neon-blue);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--neon-blue);
  color: #22273a;
}
.cookie-banner .cookie-settings {
  background: #191f2e;
  color: var(--neon-blue);
  border: 1.8px solid var(--accent);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--accent);
  color: #191f2e;
  border-color: #ffe764;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(15, 22, 36, 0.83);
  z-index: 5100;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s;
}
.cookie-modal.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #22273a;
  border-radius: 18px;
  box-shadow: 0 4px 40px 0 #3ff0fc2c;
  max-width: 395px;
  width: 88vw;
  padding: 38px 28px 30px 28px;
  color: #eaf0ff;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  animation: cookieUp .48s cubic-bezier(.7,0,.33,1);
}
@keyframes cookieUp { from { transform: translateY(40px) scale(.91); opacity:0; } to {transform: none; opacity:1;} }
.cookie-modal-content h2 {
  font-size: 1.23rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 13px;
  background: #34405a;
  position: relative;
  transition: background .2s;
  margin-left:6px;
  flex-shrink: 0;
}
.cookie-toggle input { display: none; }
.cookie-toggle span {
  position: absolute;
  left: 3px; top: 3.2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transition: left .2s;
  box-shadow: 0 0 6px 0 var(--accent);
}
.cookie-toggle input:checked + span {
  left: 19px;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}
.cookie-toggle input:disabled + span {
  background: #b6babf;
  cursor: not-allowed;
}
.cookie-modal-content .close-modal {
  position: absolute;
  right: 18px; top: 14px;
  font-size: 32px;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.cookie-modal-content .close-modal:hover {
  color: var(--neon-blue);
}
.cookie-modal-content .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-content .modal-actions button {
  min-width: 80px;
}

/* ------------------------------
         UTILITY CLASSES
------------------------------ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ------------------------------
         MICROS & EFFECTS
------------------------------ */
.card, .service-list > div, .testimonial-card, .cta-btn, .cookie-banner button, .cookie-modal-content button {
  transition: box-shadow .15s cubic-bezier(.5,0,.13,1), background .18s, color .13s, transform .18s;
}
.card:hover, .service-list > div:hover, .cta-btn:hover, .cookie-banner button:hover, .cookie-modal-content button:hover {
  box-shadow: 0 6px 24px 0 var(--neon-blue),0 2px 8px #1e2533;
}
.card:focus-within, .service-list > div:focus-within, .cta-btn:focus, .cookie-banner button:focus, .cookie-modal-content button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Neon accent border effect (cards, cta)*/
.card, .service-list > div {
  border: 1.7px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.card::after, .service-list > div::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -2px; top: -2px; right: -2px; bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg,transparent 77%,var(--neon-blue) 97%,var(--accent));
  box-shadow: 0 2px 12px 0 #3ff0fc44;
  opacity: 0.22;
  pointer-events: none;
}

/* Selection */
::selection {
  background: var(--neon-blue);
  color: #fff;
}

/* ------------------------------
          RESPONSIVENESS
------------------------------ */
@media (max-width: 1200px) {
  .container { max-width: 1003px; }
}
@media (max-width: 992px) {
  .footer-menu, .footer-contact {
    font-size: 14px;
  }
  .service-list > div, .card { min-width: 180px; }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact { margin-top: 14px; }
  
  .service-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .content-wrapper { padding: 18px 8px; }
  .section { padding: 16px 2px; }
  nav { display: none; }
  .cta-btn { margin-left: 0; font-size: 1rem; padding: 10px 16px; }
  .mobile-menu-toggle { display: inline-flex; }
  header .container {
    flex-direction: row;
    gap: 0;
    min-height: 55px;
  }
  .logo img { height: 32px; }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .card-container,
  .content-grid,
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { flex-direction: column; gap: 10px; }
  .map-placeholder { min-height: 100px; font-size: .98em; }
  .content-wrapper { gap: 14px; }
  .feature-item { gap: 7px; }
  .card, .service-list > div { padding: 12px 8px; min-width: 150px; font-size: 14px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.02rem; }
  .cookie-banner {
    padding: 17px 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner p { font-size: 14px; }
  .cookie-banner .cookie-btns { flex-direction: column; gap: 6px; }
  .cookie-modal-content { padding: 18px 5vw 16px 5vw; }
}
@media (max-width: 480px) {
  .footer-menu, .footer-contact { font-size: 13.5px; }
  table th, table td { font-size: .9em; }
  .logo img, footer img, .footer img { height: 24px; }
  .map-placeholder { min-height: 60px; }
  .cookie-modal-content { max-width: 98vw; }
}

/* Hide .mobile-menu on desktop */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ------------------------------
           END OF CSS
------------------------------ */
