/* 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 {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #20232A;
  background: #F5F5F7;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #194871; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F2A844; outline: none; }

ul, ol { padding-left: 24px; }
li { margin-bottom: 10px; }
strong, b { font-weight: 700; }
em { font-style: italic; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #143052;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }

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


/**************************************
  LUXURY PREMIUM BASE COLORS & FONTS
***************************************/
:root {
  --luxury-blue: #194871;
  --luxury-gold: #F2A844;
  --luxury-light: #F9FAFB;
  --luxury-surface: #E9E9E9;
  --luxury-dark: #143052;
  --luxury-text: #20232A;
  --luxury-card: #FFFFFF;
  --luxury-accent: #E9E9E9;
  --luxury-shadow: rgba(25,72,113,0.07);
  --luxury-border: #E9E9E9;
}

body {
  background: var(--luxury-light);
  color: var(--luxury-text);
}

/**************************************
  CONTAINER
***************************************/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

/**************************************
  HEADER & NAVIGATION
***************************************/
header {
  background: var(--luxury-card);
  box-shadow: 0 4px 16px var(--luxury-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
  position: relative;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 10px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--luxury-dark);
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a.cta {
  background: var(--luxury-blue);
  color: #fff;
  border-radius: 24px;
  padding: 10px 26px;
  margin-left: 14px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 2px 6px var(--luxury-shadow);
  border: none;
  outline: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  position: relative;
}
nav a.cta:after {
  content: '';
  position: absolute;
  display: block;
  left: 0; right: 0; top: 0; bottom: 0;
  border-radius: 24px;
  border: 2px solid var(--luxury-gold);
  opacity: 0;
  transition: opacity 0.2s;
}
nav a:hover,
nav a:focus {
  background: var(--luxury-blue);
  color: #fff;
}
nav a.cta:hover,
nav a.cta:focus {
  background: var(--luxury-gold);
  color: var(--luxury-blue);
  box-shadow: 0 4px 20px var(--luxury-shadow), 0 0 0 2px var(--luxury-gold);
}
nav a.cta:hover:after,
nav a.cta:focus:after {
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--luxury-dark);
  font-size: 2.2rem;
  margin-left: 16px;
  cursor: pointer;
  transition: color .2s;
  z-index: 60;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--luxury-blue); }

/**************************************
  MOBILE NAVIGATION
***************************************/
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--luxury-card);
  box-shadow: 4px 0 24px rgba(0,0,0,0.10);
  z-index: 100;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.8,0,0.2,1), opacity 0.3s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  margin: 24px 16px 16px auto;
  font-size: 2.2rem;
  background: none;
  color: var(--luxury-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--luxury-gold);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 32px 32px 0 32px;
}
.mobile-nav a {
  color: var(--luxury-dark);
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a.cta {
  background: var(--luxury-blue);
  color: #fff;
  padding: 12px 26px;
  border-radius: 24px;
  font-weight: 700;
  margin-top: 16px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--luxury-gold);
  color: var(--luxury-blue);
}

/**** Responsive nav/burger ****/
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/**************************************
  MAIN LAYOUT & SECTIONS
***************************************/
main { width: 100%; }
section {
  background: none;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 24px var(--luxury-shadow);
  position: relative;
}
section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section {
    padding: 24px 6px;
    margin-bottom: 32px;
    border-radius: 18px;
  }
}

.content-wrapper {
  margin: 0 auto;
  max-width: 830px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/**** Text-image section (when exists) ****/
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 20px; }
}

/**************************************
  FEATURE GRID, CARDS & PROJECTS
***************************************/
.feature-grid, .project-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: flex-start;
}
.feature-grid > div, .project-snippets > div {
  background: var(--luxury-card);
  border-radius: 18px;
  border: 1px solid var(--luxury-border);
  box-shadow: 0 3px 14px var(--luxury-shadow);
  padding: 24px 18px 20px;
  min-width: 230px;
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.18s;
}
.feature-grid > div:hover, .project-snippets > div:hover {
  box-shadow: 0 6px 32px rgba(242,168,68,0.12), 0 1px 8px var(--luxury-shadow);
  border: 1.5px solid var(--luxury-gold);
}
.feature-grid img, .project-snippets img {
  width: 44px; height: 44px; margin-bottom: 3px;
}
@media (max-width: 600px) {
  .feature-grid, .project-snippets { gap: 14px; }
  .feature-grid > div, .project-snippets > div { min-width: 160px; padding: 18px 10px; }
}

/**************************************
  TESTIMONIALS
***************************************/
.testimonial-card {
  background: #fff;
  color: #393C4B;
  border-radius: 14px;
  border: 1px solid var(--luxury-border);
  box-shadow: 0 2px 16px var(--luxury-shadow);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  font-size: 1.04rem;
  transition: box-shadow .15s, border .15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(242,168,68,0.10), 0 1px 12px var(--luxury-shadow);
  border: 1px solid var(--luxury-gold);
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: var(--luxury-dark);
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--luxury-gold);
  font-size: .96rem;
}
/**** Styling for dark-on-light for accessibility ****/
.testimonial-card,
.testimonial-card p,
.testimonial-card span,
.testimonial-card strong { color: #262A33; background: #fff; }

/**************************************
  BUTTONS, CTA
***************************************/
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--luxury-gold);
  color: var(--luxury-blue) !important;
  border-radius: 28px;
  display: inline-block;
  border: none;
  font-size: 1.1rem;
  padding: 14px 38px;
  box-shadow: 0 3px 20px var(--luxury-shadow);
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 4px;
  letter-spacing: .01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  position: relative;
  text-align: center;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--luxury-blue);
  color: #fff !important;
  box-shadow: 0 6px 24px rgba(242,168,68,0.12), 0 1px 10px var(--luxury-shadow);
}
.cta:active {
  background: #c68a21; color: #fff;
}

/**************************************
  LISTS AND ADDITIONAL STYLES
***************************************/
ul, ol {
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: var(--luxury-text);
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.text-section {
  background: var(--luxury-surface);
  border: 1px solid var(--luxury-border);
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 20px;
}

/**************************************
  MAP "EMBED"
***************************************/
.map-embed {
  background: var(--luxury-accent);
  border: 1px solid var(--luxury-border);
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0;
  font-style: italic;
}

/**************************************
  FOOTER
***************************************/
footer {
  background: var(--luxury-card);
  color: var(--luxury-dark);
  border-top: 2px solid var(--luxury-gold);
  margin-top: 40px;
  padding: 38px 0 0 0;
  box-shadow: 0 0 30px 0 var(--luxury-shadow);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--luxury-border);
  padding-bottom: 18px;
}
.footer-brand { flex: 0 0 90px; }
.footer-brand img { width: 80px; height: auto; }
.footer-info address {
  font-style: normal;
  color: var(--luxury-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
}
.footer-info img {
  vertical-align: middle;
  width: 18px;
  margin-right: 4px;
  opacity: .82;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--luxury-dark);
  font-size: .96em;
  padding: 5px 0;
  transition: color 0.14s;
}
.footer-links a:hover {
  color: var(--luxury-gold);
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  padding: 22px 16px 0 0;
}
.footer-social a img { width: 30px; height: 30px; transition: filter 0.14s; filter: grayscale(0.5) brightness(0.92); }
.footer-social a:hover img { filter: grayscale(0) brightness(1.1); }

.copyright {
  text-align: center;
  font-size: 0.95rem;
  color: #757B8C;
  margin: 24px 0 8px 0;
}

@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
  .footer-social { justify-content: flex-start; padding: 18px 0 0 0; }
}

/**************************************
  FLEXBOX STRUCTURE SPACING CLASSES
***************************************/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: var(--luxury-card); border-radius: 16px; box-shadow: 0 2px 16px var(--luxury-shadow); margin-bottom: 20px; position: relative; padding: 26px 18px 20px; display: flex; flex-direction: column; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/**************************************
  RESPONSIVE: FLEX TO COLUMN
***************************************/
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, .project-snippets {
    flex-direction: column !important;
    gap: 14px;
  }
  .footer-brand, .footer-info, .footer-links { width: 100%; }
}

/**************************************
  MISC ACCESSIBILITY & USABLE FORMS
***************************************/
input, button, select, textarea {
  font-family: inherit;
}
:focus {
  outline: 2px solid var(--luxury-gold);
  outline-offset: 1px;
}

/**************************************
  COOKIE CONSENT BANNER & MODAL
***************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 190;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(25,72,113,.10);
  border-top: 2px solid var(--luxury-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 22px;
  font-size: 1rem;
  animation: cookie-in 0.5s cubic-bezier(.65,0,.35,1);
}
@keyframes cookie-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-right: 36px;
  color: #262A33;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: var(--luxury-blue);
  color: #fff;
  border-radius: 18px;
  border: none;
  padding: 9px 21px;
  margin-left: 0;
  cursor: pointer;
  transition: background .16s, color .14s;
}
.cookie-btn.settings { background: var(--luxury-gold); color: var(--luxury-blue); }
.cookie-btn.reject {
  background: #fff;
  color: var(--luxury-blue);
  border: 1.5px solid var(--luxury-blue);
}
.cookie-btn:hover, .cookie-btn:focus { background: var(--luxury-gold); color: var(--luxury-blue); }

/* COOKIE SETTINGS MODAL POPUP */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 200;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 42px rgba(25,72,113,.19);
  min-width: 320px; max-width: 92vw;
  max-height: 97vh;
  padding: 38px 28px 28px 28px;
  text-align: left;
  transition: opacity 0.2s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
  animation: fadeinModal .36s cubic-bezier(.65,0,.35,1);
}
@keyframes fadeinModal {
  from { opacity: 0; transform: translate(-50%,-45%) scale(0.90); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h3 {
  margin-top: 0;
  color: var(--luxury-blue);
  font-size: 1.33rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal ul {
  margin: 0 0 12px 0;
  padding-left: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 18px;
}
.cookie-modal label {
  font-size: 1.04rem;
  color: #222;
  cursor: pointer;
  flex: 1 1 auto;
}
.cookie-toggle {
  display: inline-block;
  width: 44px;
  height: 24px;
  background: var(--luxury-accent);
  border-radius: 999px;
  position: relative;
  transition: background 0.14s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px; top: 2px;
  bottom: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(25,72,113,.07);
  transition: left 0.16s, background 0.14s;
}
.cookie-toggle input:checked + .slider {
  left: 22px;
  background: var(--luxury-gold);
  box-shadow: 0 2px 10px var(--luxury-gold);
}
.cookie-modal .modal-footer {
  display: flex; gap: 16px; justify-content: flex-end; margin-top: 24px;
}
.cookie-modal .close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 1.7rem;
  border: none;
  background: none;
  color: #444;
  border-radius: 50%;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: var(--luxury-gold);
  color: #fff;
}

.cookie-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 199;
  background: rgba(25,72,113,0.21);
  animation: fadeInBg .23s;
}
.cookie-overlay.open { display: block; }
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 11px 8px; font-size: 0.98em; gap: 4px; }
  .cookie-banner .cookie-btns { width: 100%; justify-content: flex-end; gap: 7px; }
  .cookie-modal { min-width: 95vw; padding: 14px 6vw 16px 6vw; }
}

/**************************************
  MICRO-INTERACTIONS & HOVERS
***************************************/
.cta,
nav a.cta,
.card,
.feature-grid > div,
footer .footer-links a,
.cookie-btn,
.cookie-modal .close,
.mobile-menu-toggle,
.mobile-menu-close {
  transition: box-shadow .16s, background .18s, color .17s, border .14s;
}
.cta:focus, nav a.cta:focus, .cookie-btn:focus { outline: 2px solid var(--luxury-gold); }

/**************************************
  PRINT OPTIMIZATION
***************************************/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-overlay, footer { display: none !important; }
  section, .content-wrapper, main { box-shadow: none !important; }
}
