/* ========== CSS RESET & BASE ========== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #141B22;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #E5E5E5;
  background: #141B22;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F6E27A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4CAF50;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}
input, button, select, textarea {
  font: inherit;
}
::-webkit-input-placeholder { color: #A4B1C2; }
::-moz-placeholder { color: #A4B1C2; }
:-ms-input-placeholder { color: #A4B1C2; }
::placeholder { color: #A4B1C2; }

/* ========== TYPOGRAPHY & BRAND ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F6E27A;
  font-weight: 700;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
}
p, li, address {
  color: #E5E5E5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ========== LAYOUT CONTAINERS ========== */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #181E25;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(20,25,34,0.10);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

.main-nav, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  background: #21272e;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(40,44,52,0.12);
  margin-bottom: 20px;
  padding: 32px 22px;
  position: relative;
  transition: box-shadow 0.25s;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 3px 16px 0 rgba(255,240,150,0.10), 0 1.5px 12px 0 #4CAF5055;
  cursor: pointer;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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) {
  .main-nav {
    display: none;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========== FEATURE ITEM ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #22282f;
  border: 1.5px solid #313C49;
  border-radius: 12px;
  padding: 32px 20px 24px 20px;
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow 0.2s, border-color 0.2s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 1px 3px #1D355770);
}
.feature-item:hover {
  box-shadow: 0 4px 18px 0 #4CAF5025, 0 1px 12px 0 #F6E27A33;
  border-color: #F6E27A;
}
@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    max-width: 100%;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FAFAFA;
  color: #222823;
  border-radius: 12px;
  box-shadow: 0 0.5px 8px 0 #45495028;
  border-left: 6px solid #1D3557;
}
.testimonial-card p {
  color: #282828;
  font-size: 1.1rem;
  margin-bottom: 0px;
}
.testimonial-card span {
  color: #4D4D4D;
  font-size: 1rem;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    gap: 15px;
    padding: 18px 10px;
    font-size: 0.98rem;
  }
}

/* ========== TABLES & LISTS ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  background: #181E25;
  color: #F6E27A;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 #1d355722;
  overflow: hidden;
}
thead tr {
  background: #22282F;
}
th, td {
  padding: 16px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
}
tbody tr {
  border-bottom: 1px solid #2c3541;
  color: #E5E5E5;
}
tbody tr:nth-child(odd){
  background: #1D3557;
}
tbody tr:last-child {
  border-bottom: 0;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
  margin-bottom: 20px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
  padding-left: 0;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: #4CAF50;
  font-weight: bold;
  display: inline-block;
  width: 1.3em;
  margin-left: -1.3em;
}

@media (max-width: 800px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead { display: none; }
  tr {
    margin-bottom: 18px;
  }
  td {
    padding: 14px 8px;
    border: none;
    background: #22282f;
    color: #FAFAFA;
    position: relative;
  }
  td:before {
    content: attr(data-label);
    float: left;
    color: #F6E27A;
    font-weight: bold;
    min-width: 150px;
  }
}

/* ========== BUTTONS & CTA ========== */
.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 0 32px;
  background: #4CAF50;
  color: #181E25;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid #4CAF50;
  border-radius: 29px;
  box-shadow: 0 1.5px 8px 0 #1D3557BB;
  margin-top: 28px;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.20s;
  text-align: center;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-shadow: 0.5px 0.5px 0 #F6E27A55;
}
.cta:hover, button.cta:hover, .cta:focus, button.cta:focus {
  background: #1D3557;
  color: #F6E27A;
  border: 2px solid #F6E27A;
  box-shadow: 0 3px 14px 0 #4CAF5044, 0 1px 9px 0 #F6E27A44;
  outline: none;
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #22282F;
  color: #F6E27A;
  border: 2px solid #22282F;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border 0.15s;
}
button:hover, .button:hover {
  background: #4CAF50;
  color: #181E25;
  border-color: #4CAF50;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #181E25;
  box-shadow: 0 2px 16px 0 #1d355712;
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 0;
}
.main-nav {
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}
.main-nav a {
  color: #F6E27A;
  padding: 8px 18px;
  border-radius: 7px;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a.cta {
  background: #4CAF50;
  color: #181E25;
  border: 2px solid #4CAF50;
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-left: 16px;
  box-shadow: 0 1.4px 6px 0 #1D3557AA;
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
  background: #1D3557;
  color: #F6E27A;
  border: 2px solid #F6E27A;
}
.main-nav a:hover, .main-nav a:focus {
  background: #1D3557;
  color: #F6E27A;
  outline: none;
}
.main-nav img {
  width: 47px;
  height: 38px;
  margin-right: 7px;
  vertical-align: middle;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  background: #1D3557;
  color: #F6E27A;
  border: none;
  font-size: 2.4rem;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  z-index: 200;
  justify-content: center;
  align-items: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6E27A;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181E25F5;
  z-index: 520;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.68, -0.55, .27, 1.55);
  flex-direction: column;
  overflow-y: auto;
  padding-top: 72px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: #1D3557;
  color: #F6E27A;
  font-size: 2.3rem;
  border: none;
  border-radius: 7px;
  width: 47px;
  height: 47px;
  z-index: 530;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F6E27A;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
  padding: 0 40px;
}
.mobile-nav a {
  color: #F6E27A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 11px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
  text-transform: uppercase;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #4CAF50;
  color: #181E25;
  outline: none;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== FOOTER ========== */
footer {
  background: #181E25;
  padding: 38px 0 8px 0;
  margin-top: 40px;
  border-top: 2px solid #22282f;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-brand {
  margin-top: 20px;
}
.footer-brand img {
  width: 42px;
  height: auto;
  filter: grayscale(40%) drop-shadow(0 3px 12px #1D355722);
}
address {
  font-style: normal;
  color: #A4B1C2;
  margin-top: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 700px) {
  footer .container {
    gap: 24px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22282F;
  color: #F6E27A;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 17px;
  box-shadow: 0 -2px 30px #1D3557CC;
  padding: 24px 24px 24px 36px;
  font-size: 1rem;
  animation: fadeInCookie 0.7s 0.2s ease backwards;
}
@keyframes fadeInCookie { from { opacity: 0; transform: translateY(70px);} to{ opacity: 1; transform:translateY(0); } }
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1.4px 8px 0 #1D355777;
  margin-bottom: 2px;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
}
.cookie-accept {
  background: #4CAF50;
  color: #181E25;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #F6E27A;
  color: #1D3557;
  outline: 2px solid #1D3557;
}
.cookie-reject {
  background: #1D3557;
  color: #F6E27A;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #4CAF50;
  color: #181E25;
  outline: 2px solid #F6E27A;
}
.cookie-settings {
  background: #22282F;
  color: #F6E27A;
  border: 1px solid #F6E27A;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F6E27A;
  color: #1D3557;
  outline: 2px solid #F6E27A;
}
@media (max-width: 600px) {
  .cookie-banner {
    font-size: 0.96rem;
    padding: 16px 4px 16px 16px;
    gap: 12px;
  }
  .cookie-banner .cookie-btns {
    gap: 12px;
  }
}

/* ========== COOKIE PREFERENCES MODAL ========== */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: #141B22e0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.4s backwards;
}
.cookie-modal {
  background: #181E25;
  border-radius: 16px;
  box-shadow: 0 4px 28px 0 #1D3557EE;
  color: #F6E27A;
  max-width: 360px;
  min-width: 270px;
  padding: 32px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 10000;
  animation: fadeInCookie 0.4s backwards;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: #1D3557;
  color: #F6E27A;
  border: none;
  font-size: 1.7rem;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-modal-close:focus {
  outline: 2px solid #F6E27A;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: #F6E27A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #F6E27A;
  font-size: 1.02rem;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #4CAF50;
  margin-right: 9px;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #1D3557;
}
.cookie-modal-btns {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-modal-btns button {
  padding: 10px 18px;
  font-size: 1.05rem;
  border-radius: 6px;
}
.cookie-modal-btns .cookie-accept {
  background: #4CAF50;
  color: #181E25;
}
.cookie-modal-btns .cookie-reject {
  background: #1D3557;
  color: #F6E27A;
}
@media (max-width: 550px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 20px 8px 14px 8px;
  }
}

/* ========== GENERAL SPACING ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 18px 2px;
    margin-bottom: 35px;
  }
}

.card {
  margin-bottom: 20px;
}

/* ========== TEXT SECTIONS ========== */
.text-section {
  margin-bottom: 24px;
  margin-top: 8px;
  color: #D1D9E2;
  font-size: 1.05rem;
}
.text-section h3,
.text-section h2 {
  color: #F6E27A;
  margin-top: 12px;
  margin-bottom: 6px;
}
.text-section ul li {
  color: #E5E5E5;
}

/* ========== DECORATIVE (E.G. ICONS, ACCENTS) ========== */
img[alt*='icon'], img[src*='icon'] {
  filter: grayscale(7%) contrast(1.2) brightness(1.05) drop-shadow(0 1px 2px #1D355755);
}

/* ========== SHADOWS, BORDERS & METALLIC ========== */
.section, .feature-item, .card, .cookie-modal, .testimonial-card {
  box-shadow: 0 2px 16px 0 #1D355755;
}
.card, .feature-item {
  border: 1px solid #313C49;
  border-bottom: 2px solid #F6E27A;
}

/* ========== ACCESSIBILITY STYLES ========== */
:focus-visible {
  outline: 2px solid #F6E27A;
  outline-offset: 1px;
}

/* ========== MISC ========== */
::-webkit-scrollbar {
  width: 9px; background: #181E25; }
::-webkit-scrollbar-thumb {
  background: #313C49; border-radius: 13px; }
::-webkit-scrollbar-thumb:hover {
  background: #1D3557; }
a[href^='tel'], a[href^='mailto'] {
  color: #4CAF50;
  font-weight: 700;
  text-underline-offset: 2px;
}

/* ========== ANIMATION MICRO-INTERACTIONS ========== */
a, .cta, button, .card, .feature-item, .testimonial-card, .cookie-banner, .mobile-menu, .cookie-modal {
  transition: box-shadow 0.18s, background 0.16s, color 0.16s, border 0.18s, transform 0.18s;
}

.card:active, .feature-item:active, .cta:active, .footer-nav a:active {
  transform: scale(0.97);
}

/* ========== PRINT STYLES ========== */
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
