/* 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;
}
ol, ul {
  list-style: none;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table { border-collapse: collapse; border-spacing: 0; }


/* Brand Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

:root {
  --brand-primary: #113B5D;
  --brand-secondary: #21B1D6;
  --brand-accent: #F4F7FB;
  --premium-gold: #CBA052;
  --neutral-dark: #0F232E;
  --neutral-light: #ffffff;
  --gray-soft: #E7EDF5;
  --gray-text: #516072;
  --border-card: #DDDDE7;
  --shadow-card: 0 8px 32px 0 rgba(17, 59, 93, 0.11);
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: var(--brand-accent);
}
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: var(--font-body);
  color: var(--neutral-dark);
  background: var(--brand-accent);
  letter-spacing: 0.01em;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--brand-primary);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--brand-primary);
}

p, li, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--neutral-dark);
}
strong {
  color: var(--brand-primary);
  font-weight: 700;
}

address {
  font-style: normal;
  font-size: 0.98rem;
  margin-top: 16px;
  color: var(--gray-text);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-light);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* HERO Section */
.hero {
  background: var(--brand-primary);
  color: var(--neutral-light);
  padding: 70px 0 50px 0;
  margin-bottom: 40px;
  position: relative;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  color: var(--neutral-light);
}
.hero h1, .hero h2, .hero h3 {
  color: var(--neutral-light);
}
.hero p {
  color: #f9f9fa;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* Card Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--neutral-light);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  margin-bottom: 20px;
  padding: 24px 20px;
  transition: box-shadow 0.25s, border-color 0.22s;
  position: relative;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 12px 32px 0 rgba(203, 160, 82, 0.09), 0 2px 8px 0 rgba(17,59,93,0.13);
  border-color: var(--premium-gold);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.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;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Features/Services List */
ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 0;
  margin-bottom: 10px;
}
li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-left: 0;
}
ul > li img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--gray-soft);
  border-left: 5px solid var(--premium-gold);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(17,59,93,0.08);
  transition: box-shadow 0.23s, border-color 0.21s;
}
.testimonial-card blockquote {
  quotes: "\201E" "\201C";
  color: var(--brand-primary);
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 2px 0;
}
.testimonial-card p {
  color: var(--neutral-dark);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(203, 160, 82, 0.13);
  border-left: 5px solid var(--brand-secondary);
}

/* Buttons */
.cta-btn, .cookie-banner button, .cookie-modal button{
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background: var(--brand-primary);
  color: var(--neutral-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 8px 0 rgba(17,59,93,0.08);
  margin: 12px 0;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.23s, color 0.18s;
  position: relative;
  text-decoration: none;
}
.cta-btn:before {
  content: '';
  display: block;
  position: absolute;
  left: 8px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--premium-gold) 50%, rgba(255,255,255,0) 100%);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.cta-btn:hover, .cookie-banner button:hover, .cookie-modal button:hover {
  background: var(--premium-gold);
  color: var(--brand-primary);
  box-shadow: 0 2px 16px 0 rgba(203, 160, 82, 0.13);
}
.cta-btn:active {
  background: var(--brand-secondary);
  color: var(--neutral-light);
}

/* Navigation (Header) */
header {
  width: 100%;
  background: var(--neutral-light);
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 75px;
  box-sizing: border-box;
  position: relative;
  z-index: 102;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--neutral-dark);
  text-decoration: none;
  font-size: 1.07rem;
  padding: 0 8px 2px 8px;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-color 0.15s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--brand-primary);
  border-bottom: 2px solid var(--premium-gold);
  outline: none;
}
header .cta-btn {
  margin: 0 16px;
  font-size: 1rem;
  background: var(--brand-secondary);
  color: var(--neutral-light);
}
header .cta-btn:hover {
  background: var(--premium-gold);
  color: var(--brand-primary);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  padding: 8px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 210;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--premium-gold);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,59,93, 0.98);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0.4,0.39,1);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 0 2px 24px 0 rgba(0,0,0,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--premium-gold);
  font-size: 2.2rem;
  padding: 20px;
  cursor: pointer;
  z-index: 2510;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 16px;
  padding: 0 42px;
}
.mobile-nav a {
  color: var(--neutral-light);
  font-family: var(--font-display);
  font-size: 1.32rem;
  text-decoration: none;
  padding: 4px 0px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--premium-gold);
  border-bottom: 2px solid var(--premium-gold);
}

/* Main Layout */
main {
  min-height: 70vh;
  width: 100%;
  background: var(--brand-accent);
}

/* Footer */
footer {
  background: var(--neutral-light);
  border-top: 1px solid var(--border-card);
  padding: 42px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--brand-primary);
  font-family: var(--font-display);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.17s;
}
footer nav a:hover {
  color: var(--premium-gold);
  border-bottom: 1px solid var(--premium-gold);
}
footer address {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.98rem;
  white-space: pre-line;
}
footer a {
  color: var(--brand-primary);
  text-decoration: underline dotted;
}
footer a:hover {
  color: var(--brand-secondary);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--brand-primary);
  color: var(--neutral-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
  z-index: 3300;
  box-shadow: 0 -2px 16px rgba(17,59,93,0.13);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 1.08rem;
  font-family: var(--font-body);
}
.cookie-banner p {
  margin-right: 18px;
  flex: 1 0 180px;
  color: var(--neutral-light);
  font-size: 1rem;
}
.cookie-banner button {
  margin: 0 7px;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  font-family: var(--font-display);
  cursor: pointer;
  background: var(--premium-gold);
  color: var(--brand-primary);
  font-weight: 700;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 8px 0 rgba(203,160,82,0.08);
}
.cookie-banner button.settings-btn {
  background: var(--brand-secondary);
  color: var(--neutral-light);
}
.cookie-banner button.reject-btn {
  background: var(--neutral-light);
  color: var(--brand-primary);
  border: 1px solid var(--premium-gold);
}
.cookie-banner button:hover {
  background: var(--brand-primary);
  color: var(--premium-gold);
}
.cookie-banner button.reject-btn:hover {
  background: var(--premium-gold);
  color: var(--brand-primary);
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--neutral-light);
  color: var(--neutral-dark);
  width: 90vw;
  max-width: 440px;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(17,59,93,0.19);
  z-index: 3500;
  flex-direction: column;
  align-items: stretch;
  padding: 32px 24px 24px 24px;
  gap: 22px;
  transition: transform 0.28s cubic-bezier(0.53, 0.24, 0.15, 1.04), opacity 0.27s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--brand-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
}
.cookie-modal .cookie-toggle {
  min-width: 54px;
  height: 30px;
  background: var(--gray-soft);
  border: none;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  outline: none;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: var(--brand-secondary);
}
.cookie-modal .cookie-toggle:after {
  content: "";
  position: absolute;
  left: 4px; top: 4px;
  width: 22px; height: 22px;
  background: var(--neutral-light);
  border-radius: 50%;
  transition: left 0.16s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.cookie-modal .cookie-toggle[aria-checked="true"]:after {
  left: 28px;
}
.cookie-modal .cookie-desc {
  font-size: 0.99rem;
  color: var(--gray-text);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 19px; right: 19px;
  background: none;
  border: none;
  color: var(--brand-secondary);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal button {
  background: var(--brand-primary);
  color: var(--neutral-light);
  padding: 8px 23px;
  font-size: 1rem;
  border-radius: 30px;
  margin: 0;
}

/* Responsive: Mobile First */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
    padding: 0 18px;
  }
  .hero {
    padding: 60px 0 40px 0;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
    padding: 0 10px;
  }
  .section {
    padding: 32px 10px;
  }
  .card {
    padding: 18px 12px;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 14px;
    height: 62px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin: 0 3px;
    font-size: 0.98rem;
    padding: 10px 24px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 3vw;
  }
  .hero {
    padding: 36px 0 28px 0;
    margin-bottom: 24px;
  }
  .section {
    margin-bottom: 32px;
    padding: 28px 6px;
    border-radius: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
  }
  .card-container {
    gap: 12px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    gap: 10px;
  }
  footer {
    padding: 26px 8px 16px 8px;
    font-size: 0.93rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start !important;
    padding: 16px 11px;
    font-size: 0.97rem;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1.04rem;
  }
  .hero {
    padding: 18px 0 12px 0;
  }
  .card {
    min-width: unset;
    padding: 12px 6px;
    border-radius: 11px;
  }
}

/* Animations */
.mobile-menu {
  will-change: transform;
}
.mobile-menu.open {
  box-shadow: 0 4px 28px 6px rgba(203,160,82,0.12);
  animation: menu-slide-in 0.33s cubic-bezier(0.52,0.16,0.36,1.05);
}
@keyframes menu-slide-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.cookie-banner {
  animation: cookie-slide-up 0.42s cubic-bezier(0.54,0.11,0.35,1.09);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-modal.open {
  animation: cookie-modal-zoom 0.25s cubic-bezier(0.66,0.06,0.45,1);
}
@keyframes cookie-modal-zoom {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Gold Accents */
h2, h3, strong, .cta-btn, .mobile-menu-close, header nav a.active {
  text-shadow: 0 1px 12px rgba(203,160,82,0.04);
}
::-webkit-scrollbar-thumb {
  background: var(--premium-gold);
  border-radius: 8px;
}
::-webkit-scrollbar {
  width: 8px;
  background: var(--gray-soft);
}

/* Focus Styles */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--premium-gold);
  outline-offset: 1px;
  z-index: 5;
}

/* MICRO-INTERACTIONS */
.cta-btn, .cookie-banner button, .cookie-modal button {
  transition: background 0.22s cubic-bezier(0.62,0.06,0.36,1.07),
    color 0.18s cubic-bezier(0.7,0.31,0.41,1), 
    box-shadow 0.22s cubic-bezier(0.62,0.07,0.37,1.01);
}

/* Images & Icons */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.hide {
  display: none !important;
}

/* Prevent Overlapping / Adequate Spacing */
main section, .section, .testimonial-card, .card {
  margin-bottom: 24px;
}

/* GOLD DIVIDER (Optional for brand effect) */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--premium-gold);
  border-radius: 2px;
  margin: 20px 0;
}
