/* --- CSS RESET & NORMALIZE --- */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote, pre {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
button { font: inherit; border: none; background: none; cursor: pointer; }
:focus { outline: 2px solid #D4AF37; outline-offset: 0; }

/* --- LUXURY/PREMIUM BRAND VARIABLES --- */
:root {
  --primary: #0A2342;
  --secondary: #3B8EA5;
  --accent: #E9E9EC;
  --gold: #D4AF37;
  --offwhite: #F9F8F6;
  --body: #232323;
  --muted: #7B8496;
  --card-bg: #fff;
  --shadow: 0 4px 24px 0 rgba(18,21,29,0.08);
  --card-radius: 22px;
  --border: 1.5px solid #ece6d4;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Segoe UI, Arial, sans-serif;
}

/* --- GENERAL TYPOGRAPHY --- */
body {
  font-family: var(--font-body);
  background: var(--offwhite);
  color: var(--body);
  line-height: 1.65;
  min-height: 100vh;
  font-size: 1rem;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--primary); }
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, li, dl, dd, dt {
  font-size: 1rem;
  color: var(--body);
}
strong { font-weight: 600; color: var(--primary); }
.emph, em { color: var(--secondary); font-style: italic; }

/* Typography scale below 480px */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

/* --- WRAPPERS & LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .section { padding: 24px 8px; margin-bottom: 36px; }
  .container { padding: 0 8px; }
  .content-wrapper { gap: 14px; }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-bottom: var(--border);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-left: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.06rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--gold);
}
.cta-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 48px;
  padding: 13px 34px;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 2px 14px 0 rgba(212,175,55,0.08);
  font-size: 1rem;
  letter-spacing: 0.06em;
  display: inline-block;
  transition: background 0.3s, color 0.3s, box-shadow 0.15s;
  border: 2px solid var(--gold);
  margin-left: 18px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 2px 18px 0 rgba(10,35,66,0.14);
  border-color: var(--primary);
}

/* --- MOBILE HEADER --- */
.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: var(--primary);
  border-radius: 12px;
  font-size: 2.15rem;
  width: 44px;
  height: 44px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 10px;
  z-index: 1011;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--gold);
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* --- MOBILE SLIDE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(10,35,66,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.62,.13,.35,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 20px 10px 0;
  font-size: 2rem;
  background: var(--gold);
  color: var(--primary);
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 60px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.22rem;
  padding: 11px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border 0.2s;
  width: max-content;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--gold);
  border-bottom: 1.5px solid var(--gold);
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none!important; }
}

/* --- MAIN & SECTIONS --- */
main {
  min-height: 50vh;
  background: none;
}
.section > .container { padding-top: 12px; padding-bottom: 12px; }
.content-wrapper > * + * { margin-top: 12px; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  border: var(--border);
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .text-section {
    padding: 18px 10px;
    gap: 7px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 24px;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: var(--border);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 18px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--card-radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border: var(--border);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 40px 0 rgba(212,175,55,0.10);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  gap: 10px;
}

/* --- ICONS & IMAGES IN LISTS --- */
ul li img, ol li img {
  width: 38px; height: 38px;
  margin-bottom: 8px;
  border-radius: 9px;
  background: var(--accent);
  box-shadow: 0 1px 7px rgba(10,35,66,0.07);
}
ul li strong { display: block; margin-top: 5px; margin-bottom: 3px; font-size: 1.01em; }
ul li p { color: var(--muted); font-size: 0.99rem; }

/* --- SERVICE CATEGORIES & BLOCKS --- */
.service-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-block {
  flex: 1 1 210px;
  min-width: 200px;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  transition: box-shadow 0.19s;
}
.service-block:hover {
  box-shadow: 0 6px 26px 0 rgba(212,175,55,0.11);
  border-color: var(--gold);
}

@media (max-width: 700px) {
  .service-categories { flex-direction: column; gap: 12px; }
}

/* --- FEATURED POSTS/BLOG --- */
.featured-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 26px;
}
.featured-posts li {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--gold);
  padding: 19px 22px;
  transition: box-shadow 0.15s, border 0.18s;
  margin-bottom: 10px;
}
.featured-posts li strong {
  color: var(--primary);
  font-size: 1.05em;
  margin-bottom: 3px;
}
.featured-posts li span {
  color: var(--muted);
  font-size: 0.98em;
}
.featured-posts li:hover {
  box-shadow: 0 5px 30px rgba(212,175,55,0.08);
  border-left: 5px solid var(--primary);
}

.categories-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 6px;
}
.categories-menu a {
  padding: 6px 20px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--primary);
  border: 1.5px solid var(--gold);
  background: none;
  transition: background 0.18s, color 0.18s;
}
.categories-menu a:hover,
.categories-menu a:focus {
  background: var(--gold);
  color: var(--primary);
}

/* --- TESTIMONIALS --- */
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 19px;
  border: 1.3px solid var(--accent);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 305px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: var(--primary);
}
.testimonial-meta {
  color: var(--muted);
  font-size: 0.98em;
}
.star-rating {
  display: flex;
  flex-direction: row;
  gap: 3px;
  align-items: center;
  margin-top: 0;
}
.star-rating img {
  width: 22px; height: 22px;
  filter: drop-shadow(0 1px 1px rgba(212,175,55,0.32));
}
@media (max-width: 900px) {
  .testimonials-list { flex-direction: column; gap: 16px; }
  .testimonial-card { max-width: none; min-width: 0; width: 100%; }
}

.client-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 20px 0 10px 0;
}
.client-logos img {
  width: 72px; height: 72px; border-radius: 7px; filter: grayscale(0.3) brightness(0.97);
  background: var(--accent);
  padding: 10px;
  transition: filter 0.21s;
}
.client-logos img:hover {
  filter: grayscale(0) brightness(1.12) drop-shadow(0 0 2px var(--gold));
}

/* --- DL TABLE STYLE (Contact Info) --- */
dl {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
dl dt {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2px;
}
dl dd {
  margin-bottom: 6px;
  color: var(--muted);
}
dl dd img { width: 18px; height: 18px; margin-right: 8px; vertical-align: middle; }

.address-map {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 15px 0 0 0;
  color: var(--body);
  font-size: 1.01em;
}
.address-map img { width: 33px; height: 33px; }

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 24px 0;
  font-size: 1rem;
  border-top: 3px solid var(--gold);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  opacity: 0.91;
  font-weight: 500;
  transition: color 0.16s;
  font-family: var(--font-display);
  padding: 3px 2px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--gold);
}
.footer-contact {
  color: #fff;
  font-size: 0.96em;
  font-family: var(--font-body);
  text-align: center;
}
@media (max-width: 600px) {
  footer .footer-nav { flex-direction: column; gap: 12px; }
  footer .container { gap: 12px; padding: 0 2px; }
  .footer-contact { font-size: 0.88em; }
}

/* --- BUTTONS & LINKS --- */
button,
input[type=button],
input[type=submit],
.cta-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, border-color 0.18s;
}
a { cursor: pointer; transition: color 0.2s; }
a:active { color: var(--secondary); }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 28px 0 rgba(10,35,66,0.13);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 24px 38px;
  font-size: 1.01rem;
  max-width: 100vw;
  transition: transform 0.42s cubic-bezier(.51,.05,.4,.95), opacity 0.22s;
}
.cookie-banner.hide { transform: translateY(110%); opacity: 0; pointer-events: none; }
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner .cookie-message {
  color: var(--primary);
  max-width: 760px;
  font-size: 1.07em;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-action-btn {
  padding: 9px 28px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1em;
  border: 2px solid var(--gold);
  background: #fff;
  color: var(--primary);
  transition: background 0.23s, color 0.2s, border-color 0.22s;
}
.cookie-action-btn.accept {
  background: var(--gold);
  color: var(--primary);
}
.cookie-action-btn.reject {
  background: #fff;
  color: var(--primary);
}
.cookie-action-btn.settings {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-action-btn:hover,
.cookie-action-btn:focus {
  filter: brightness(0.97);
  box-shadow: 0 2px 10px rgba(212,175,55,0.11);
}
@media (max-width: 900px) {
  .cookie-banner { flex-direction: column; gap: 17px; padding: 22px 10px; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed; z-index: 3111;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10,35,66,0.72);
  display: none;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.active { display: flex; }
.cookie-modal {
  background: #fff;
  max-width: 420px;
  width: 94vw;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -7px 34px 0 rgba(10,35,66,0.17);
  padding: 32px 25px 25px 25px;
  position: relative;
  animation: cookie-modal-in 0.34s cubic-bezier(.58,.22,.25,1.02);
  font-size: 1.04em;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes cookie-modal-in {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal .cookie-modal-title {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-display); 
}
.cookie-modal .cookie-close-btn {
  background: var(--gold);
  color: var(--primary);
  border-radius: 14px;
  font-size: 1.6rem;
  width: 40px; height: 40px;
  position: absolute;
  right: 20px; top: 19px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal .cookie-close-btn:hover,
.cookie-modal .cookie-close-btn:focus {
  background: var(--primary); color: var(--gold);
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 11px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  font-size: 1.01em;
}
.cookie-modal .toggle {
  width: 42px; height: 24px;
  background: var(--accent);
  border-radius: 14px;
  position: relative;
  margin-left: 18px;
  cursor: pointer;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #d3d3d3;
  transition: background 0.18s, left 0.16s;
}
.cookie-modal .toggle input:checked + .toggle-slider {
  background: var(--gold);
  left: 20px;
}
.cookie-modal .category-title {
  font-weight: 600;
  color: var(--primary);
  margin-right: 7px;
}
.cookie-modal .category-required {
  color: var(--muted); font-size: 0.85em;
}
.cookie-modal .cookie-action-btn {
  margin-top: 18px;
}

/* --- RESPONSIVE SECTION GAP --- */
section + section {
  margin-top: 22px;
}
@media (max-width: 600px) {
  section + section { margin-top: 14px; }
}

/* --- MISC DECORATIVE DETAILS --- */
.innovation-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--primary);
  margin-top: 12px;
}
.innovation-highlight img {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 8px;
}

/* --- GENERAL SPACING --- */
main .section, .card, .service-block, .testimonial-card, .feature-item {
  margin-bottom: 24px;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-btn, .cookie-action-btn, .main-nav a, .mobile-nav a, .categories-menu a, .service-block, .card, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.16s, background 0.22s, color 0.16s, transform 0.10s;
}
.cta-btn:active, .cookie-action-btn:active {
  transform: scale(0.98);
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(212,175,55,0.11);
  border-color: var(--gold);
}
.service-block:hover {
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,175,55,0.13);
}
.featured-posts li:active {
  transform: scale(0.98);
}

/* --- UTILITIES & REUSABLES --- */
.d-none { display: none!important; }
.text-center { text-align: center !important; }
.mt-2 { margin-top: 12px!important; }
.mb-2 { margin-bottom: 12px!important; }

/* --- PRINT FRIENDLY --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none!important; }
  body { background: #fff; color: #222; }
}

/* --- SCROLLBAR STYLING (Optional, nice touch) --- */
body::-webkit-scrollbar { width: 9px; background: var(--accent); }
body::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }

/* --- SUPPORT FOR HIGH CONTRAST/ACCESSIBILITY --- */
@media (prefers-contrast: more) {
  :root { --accent: #fff; --offwhite: #fff; }
  .footer-nav a, .main-nav a, .cta-btn, .cookie-banner, .testimonial-card { color: #222; }
}

/* --- ACCESSIBLE FOCUS --- */
.cta-btn:focus, .cookie-action-btn:focus, .main-nav a:focus, .mobile-nav a:focus, .categories-menu a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  z-index: 1;
}

/* --- END --- */
