/* ===========================================================================
   CSS RESET & BASELINE NORMALIZATION
============================================================================ */
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 {
  scroll-behavior: smooth;
  background: #FAFAFA;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F5F5;
  color: #222A35;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto; 
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #D4AF37;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
}

/* ===========================================================================
   LUXURY PREMIUM BRAND SYSTEM
============================================================================ */
:root {
  --color-primary: #22577A;
  --color-secondary: #38A3A5;
  --color-accent: #F5F5F5;
  --color-dark: #222A35;
  --color-light: #FCFCFC;
  --color-gold: #D4AF37;  /* Rich gold accent */
  --color-gold-dark: #B2902F;
  --color-border: #E6E2D3;
  --color-footer: #20252A;
  --color-overlay: rgba(34, 39, 47, 0.9);
  --shadow-soft: 0 3px 24px 0 rgba(36,32,21,0.08),0 1.5px 4px 0 rgba(36,32,21,0.03);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@media (max-width: 480px) {
  :root {
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 3px;
  }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
}
.subline,
.confirmation-message {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 18px;
}
.text-section {
  margin-bottom: 24px;
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  margin: 0 auto 32px auto;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 32px 10px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ===========================================================================
   NAVIGATION & HEADER
============================================================================ */
header {
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
nav .cta-primary {
  background: var(--color-gold);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 9px 22px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(212,175,55,0.06);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.23s, box-shadow 0.2s;
}
nav .cta-primary:hover,
nav .cta-primary:focus {
  background: var(--color-gold-dark);
  color: #fff;
  box-shadow: 0 3px 18px rgba(212,175,55,0.18);
}
nav a:hover,
nav a:focus {
  background: var(--color-accent);
  color: var(--color-gold);
}

.mobile-menu-toggle {
  display: none;
}
@media (max-width: 920px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    transition: background 0.15s;
    z-index: 101;
  }
  .mobile-menu-toggle:focus {
    background: var(--color-accent);
  }
}

/* ===========================================================================
   MOBILE MENU OVERLAY
============================================================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-overlay);
  color: #fff;
  z-index: 2000;
  transform: translateX(-110%);
  transition: transform 0.34s cubic-bezier(.59,.01,.41,1.03);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.44s cubic-bezier(.59,.01,.46,.99), opacity 0.32s;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  padding: 24px 22px 4px 0;
  margin: 0 0 0 0;
  cursor: pointer;
  z-index: 2010;
  transition: color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  margin-top: 32px;
  margin-left: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
  text-decoration: none;
  padding: 14px 28px 14px 0;
  border-radius: var(--radius-md);
  width: 100%;
  transition: color 0.16s, background 0.13s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(255,255,255,0.055);
}

/* ===========================================================================
   MAIN SECTIONS, FEATURE GRIDS, CARDS
============================================================================ */
main {
  width: 100%;
  padding-bottom: 40px;
  flex: 1 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 28px 20px 22px 20px;
  min-width: 230px;
  flex: 1 1 270px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.18s;
  border: 1.5px solid var(--color-border);
}
.feature-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 600;
}
.feature-item p {
  color: var(--color-dark);
  font-size: 1rem;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 6px 22px rgba(212,175,55,0.08);
  transform: translateY(-2px) scale(1.015);
  border-color: var(--color-gold);
}

.card-container, .card-grid, .project-list, .blog-post-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  position: relative;
  min-width: 240px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 1.5px solid var(--color-border);
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 42px rgba(34,87,122,0.09);
  transform: translateY(-2px) scale(1.015);
  border-color: var(--color-gold);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-list .text-section,
.blog-post-list .text-section,
.faq-list .text-section {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 11px 22px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 260px;
}
.process-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}
.process-icons img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .feature-grid, .card-container, .project-list, .blog-post-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .card, .project-list .text-section, .blog-post-list .text-section {
    min-width: 0;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .process-icons {
    gap: 12px;
    margin-top: 18px;
  }
}

/* ===========================================================================
   CTA BUTTONS
============================================================================ */
.cta-primary {
  background: var(--color-gold);
  color: #fff !important;
  padding: 13px 32px;
  font-family: var(--font-display);
  font-size: 1.10rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 14px rgba(212,175,55,0.09);
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: center;
  transition: background 0.23s, box-shadow 0.21s, color 0.11s;
  outline: none;
  display: inline-block;
  margin-top: 12px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-gold-dark);
  color: #fff;
  box-shadow: 0 4px 22px rgba(212,175,55,0.21);
}

/* ===========================================================================
   TESTIMONIALS CARDS
============================================================================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 32px rgba(34,87,122,0.05);
  padding: 20px 30px;
  margin-bottom: 24px;
  color: #222A35;
  position: relative;
  font-family: var(--font-body);
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #222A35;
  font-family: var(--font-body);
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-weight: 500;
  margin-left: 16px;
  white-space: nowrap;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 12px 40px rgba(212,175,55,0.10);
  transform: translateY(-2px) scale(1.01);
}

@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 14px;
    gap: 12px;
    margin-bottom: 18px;
  }
  .testimonial-card span {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ===========================================================================
   FOOTER
============================================================================ */
footer {
  padding: 0;
  background: var(--color-footer);
  color: #fff;
}
footer .container {
  flex-direction: column;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 27px;
}
.footer-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-content > * {
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.00rem;
  opacity: 0.92;
  font-family: var(--font-display);
  margin-bottom: 0;
  transition: color 0.16s, opacity 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-gold);
  opacity: 1;
}
.contact-snippet {
  font-size: 0.98rem;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  opacity: 0.88;
}
.contact-snippet img {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 950px) {
  .footer-content {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===========================================================================
   COOKIE CONSENT BANNER
============================================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -2px 16px rgba(34,87,122,0.06);
  padding: 23px 10px 16px 10px;
  font-family: var(--font-body);
  color: #343434;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 66px;
  opacity: 1;
  transition: opacity 0.29s, transform 0.41s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  flex: 1 1 230px;
  font-size: 1.02rem;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 0.99rem;
  cursor: pointer;
  background: var(--color-gold);
  color: #fff;
  margin: 0;
  transition: background 0.18s, color 0.13s;
}
.cookie-btn.cookie-settings {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.2px solid var(--color-gold);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-gold-dark);
  color: #fff;
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: var(--color-gold);
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 7px 12px 7px;
    min-height: 84px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3200;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17,20,33,0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 7px 44px rgba(34,87,122,0.13);
  padding: 32px 28px 18px 28px;
  font-family: var(--font-body);
  color: #262626;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  padding: 11px 2px 11px 0;
  gap: 18px;
  border-bottom: 1px solid var(--color-border);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category-title {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  margin-right: 8px;
}
.cookie-toggle {
  appearance: none;
  height: 26px;
  width: 46px;
  background: var(--color-accent);
  border: 1.6px solid var(--color-gold);
  border-radius: 23px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: var(--color-gold);
}
.cookie-toggle:after {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 21px; height: 21px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 2px 8px rgba(212,175,55,0.07);
}
.cookie-toggle:checked:after {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.13s;
  z-index: 10;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-gold);
}
@media (max-width: 540px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 15vw 6vw 18px 6vw;
  }
}

/* ===========================================================================
   MISCELLANEOUS LAYOUTS
============================================================================ */
.faq-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #222A35;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 11px 22px;
  border: 1px solid var(--color-border);
}
.map {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #222A35;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 11px 22px;
  border: 1px solid var(--color-border);
}
@media (max-width: 780px) {
  .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .contact-details, .map {
    padding: 13px 10px 10px 10px;
  }
}
.confirmation-message {
  background: var(--color-accent);
  border-left: 6px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 18px 18px 14px 19px;
  margin-bottom: 18px;
  font-size: 1.10rem;
  color: var(--color-primary);
  box-shadow: 0 8px 26px rgba(212,175,55,0.07);
}

/* ===========================================================================
   ANIMATIONS & MICRO-INTERACTIONS
============================================================================ */
.cta-primary, .cookie-btn, .feature-item, .card, .testimonial-card {
  transition: box-shadow 0.21s cubic-bezier(.58,.03,.52,.91),
              background 0.21s, color 0.15s, transform 0.18s;
}
.mobile-menu,
.mobile-menu.active,
.cookie-banner,
.cookie-banner.hidden,
.cookie-modal-overlay,
.cookie-modal-overlay.hidden {
  transition: transform 0.35s, opacity 0.26s;
}

/* ===========================================================================
   RESPONSIVE TYPOGRAPHY & SPACING
============================================================================ */
@media (max-width: 820px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.37rem; }
}
@media (max-width: 560px) {
  h1 { font-size: 1.49rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1rem; }
  .card, .feature-item { padding: 13px 8px 9px 9px; }
}

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