/* ===========================================================
   CSS RESET & 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #222B45;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; background: none; }
button { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; cursor: pointer; outline: none; }
::-webkit-input-placeholder { color: #8F9BB3; }
::-moz-placeholder { color: #8F9BB3; }
:-ms-input-placeholder { color: #8F9BB3; }
::placeholder { color: #8F9BB3; }


/* ===========================================================
   BRAND COLORS & FONTS
   =========================================================== */
:root {
  --primary: #222B45;
  --secondary: #4DD494;
  --accent: #F6E27A;
  --gold: #D4AF37;
  --white: #fff;
  --background: #FAFAFA;
  --text-main: #222B45;
  --text-light: #8591AE;
  --border: #EEE7CE;
  --shadow: 0 4px 24px 0 rgba(34,43,69,0.07), 0 1.5px 3px 0 rgba(212,175,55,0.09);
  --transition: 0.25s cubic-bezier(.67,.13,.1,.81);
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat-Bold'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
}


/* ===========================================================
   TYPOGRAPHY
   =========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.17;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
}
h4, h5, h6 { font-size: 1.125rem; /* 18px */ }

p, ul, ol, li, span, label, a {
  font-size: 1rem;
  color: var(--text-main);
}
strong { font-weight: 700; }

.tagline {
  display: inline-block;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.04em;
}


/* ===========================================================
   CONTAINERS & LAYOUT
   =========================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px; padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background);
  border-radius: 18px;
}

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

.card-container, .feature-grid, .services-grid, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .service-item:hover, .testimonial-card:hover {
  box-shadow: 0 6px 40px 0 rgba(34, 43, 69, 0.13), 0 2px 8px 0 rgba(212,175,55,0.09);
  transform: translateY(-2px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  width: 36px;
  height: 36px;
}


/* ===========================================================
   HERO SECTION
   =========================================================== */
.hero {
  padding: 44px 0 44px 0;
  background: linear-gradient(97deg, #222B45 80%, var(--gold) 120%);
  color: var(--white);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}
.hero .container {
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  flex: 1 1 0%;
  color: var(--white);
  gap: 28px;
}
.hero h1, .hero h2, .hero p { color: var(--white); }


/* ===========================================================
   BUTTONS
   =========================================================== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 18px 0 rgba(246, 226, 122, 0.11);
  margin-top: 8px;
}
.btn-primary {
  background: linear-gradient(90deg, var(--gold) 57%, var(--accent) 100%);
  color: var(--primary);
  border: none;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 32px 0 rgba(246, 226, 122, 0.15);
  text-decoration: none;
  outline: none;
}
.btn-secondary {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--gold);
  letter-spacing: 0.04em;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  text-decoration: none; outline: none;
}


/* ===========================================================
   NAVIGATION MENU (DESKTOP)
   =========================================================== */
.site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-right: 18px;
}
.site-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 0 6px;
  position: relative;
  transition: color var(--transition);
}
.site-nav a:hover, .site-nav a:focus {
  color: var(--gold);
}
.logo img {
  height: 44px; width: auto;
  margin-right: 20px;
}

header {
  background: var(--background);
  box-shadow: 0 2px 18px 0 rgba(34,43,69,0.05);
  padding: 0;
  position: sticky; top: 0; z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header .btn-primary { margin-left: 24px; }
header .mobile-menu-toggle { display: none; }


/* ===========================================================
   FOOTER STYLES
   =========================================================== */
footer {
  background: var(--primary);
  color: var(--accent);
  border-top: 4px solid var(--gold);
  padding: 56px 0 24px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-flow: row wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--gold);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-brand img { height: 48px; width: auto; }
.footer-brand p {
  color: var(--accent);
  font-size: 0.95rem;
  opacity: 0.78;
  margin-top: 8px;
}


/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 26px 20px 26px;
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 15px;
  box-shadow: var(--shadow);
  flex: 1 1 290px;
  max-width: 380px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 6px;
  text-align: left;
}
.testimonial-author {
  color: var(--secondary);
  font-size: 0.97rem;
  font-style: italic;
  align-self: flex-start;
  font-weight: 700;
}


/* ===========================================================
   SERVICES / FEATURES / CARDS
   =========================================================== */
.services-list, .feature-articles-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 260px;
  flex: 1 1 280px;
  border-left: 4px solid var(--gold);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item img {
  width: 36px;
  height: 36px;
}
.service-guarantees ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
}
.highlight-box {
  background: var(--gold);
  color: var(--primary);
  border-radius: 13px;
  padding: 18px 22px;
  margin-top: 16px;
  box-shadow: 0 1px 5px 0 rgba(212,175,55,0.13);
  font-size: 1.07rem;
}
.highlight-box a { color: var(--primary); font-weight: 700; text-decoration: underline; }

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-highlights {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px 18px; min-width: 230px;
  flex: 1 1 280px;
  border-left: 4px solid var(--gold);
  margin-bottom: 18px;
}


/* ===========================================================
   NEWSLETTER SECTION
   =========================================================== */
.newsletter-section {
  background: var(--primary);
  color: var(--accent);
  border-radius: 18px;
  padding: 40px 20px;
  margin-bottom: 60px;
}
.newsletter-section h2 {
  color: var(--accent);
}
.newsletter-section p {
  color: var(--gold);
}


/* ===========================================================
   QUICK CONTACT, TEXT GRIDS
   =========================================================== */
.quick-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding: 0 10px;
}
.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;
}


/* ===========================================================
   SPACING
   =========================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .services-grid, .project-list {
  gap: 24px;
}
.card, .testimonial-card, .project-highlights, .service-item {
  margin-bottom: 20px;
}
.content-grid, .text-image-section {
  gap: 20px;
}
.feature-item {
  gap: 15px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}


/* ===========================================================
   MOBILE NAVIGATION (BURGER MENU)
   =========================================================== */
.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  border-radius: 50%;
  border: none;
  color: var(--primary);
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 1.5px 8px rgba(212,175,55,0.14);
  transition: background var(--transition);
  z-index: 1101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--gold);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 43, 69, 0.96);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.32,.72,.36,.88);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1; pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 28px;
  background: var(--gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--primary);
  border: none;
  z-index: 1110;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 120px 0 0 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  font-size: 1.45rem;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 700;
  width: 220px;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gold);
  color: var(--primary);
}


/* ===========================================================
   COOKIE CONSENT BANNER & MODAL
   =========================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--accent);
  padding: 22px 26px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 -2px 15px 0 rgba(34,43,69,0.10);
  z-index: 1200;
  border-top: 3px solid var(--gold);
  animation: cookieFadeIn 0.5s;
}
.cookie-banner p {
  margin: 0 0 4px 0;
  font-size: 1.08rem;
  color: var(--accent);
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 2px;
}
.cookie-actions button {
  border-radius: 22px;
  padding: 7px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--gold);
  color: var(--primary);
  margin: 0;
  transition: background var(--transition), color var(--transition);
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-actions .cookie-settings {
  background: none;
  color: var(--accent);
  border: 1.5px solid var(--gold);
}
.cookie-actions .cookie-settings:hover {
  background: var(--gold);
  color: var(--primary);
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1201;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(34, 43, 69, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.3s;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 20px;
  padding: 38px 26px 30px 26px;
  width: 98%;
  max-width: 380px;
  box-shadow: 0 8px 40px 0 rgba(34,43,69,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideFromBottom 0.25s;
}
.cookie-modal h3 { margin: 0 0 6px 0; color: var(--primary); }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-right: 4px;
}
.cookie-category .always-on {
  font-size: 0.99rem;
  color: var(--secondary);
  font-style: italic;
}
.cookie-modal .cookie-modal-close {
  position: absolute; top: 18px; right: 16px;
  background: var(--gold); border-radius: 50%; border: none; width: 34px; height: 34px; font-size: 1.5rem; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal .cookie-modal-close:hover { background: var(--primary); color: var(--gold); }
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 15px; justify-content: center;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 16px; padding: 7px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--gold);
  color: var(--primary);
  margin: 0;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .cookie-modal-actions button.reject {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.cookie-modal .cookie-modal-actions button.reject:hover {
  background: var(--gold);
  color: var(--primary);
}

@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slideFromBottom {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: none; }
}


/* ===========================================================
   RESPONSIVENESS — FLEXBOX SSR: MOBILE FIRST
   =========================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 991px) {
  .container {
    max-width: 740px;
  }
  .site-nav {
    gap: 14px;
  }
  .card, .service-item, .testimonial-card, .project-highlights {
    min-width: 200px;
    padding: 18px 12px;
  }
}
@media (max-width: 870px) {
  .footer-nav { gap: 13px; font-size: 0.92rem; }
}
@media (max-width: 768px) {
  html { font-size: 98%; }
  .container {
    max-width: 100%;
    padding-left: 11px; padding-right: 11px;
  }
  header .container {
    height: 68px; padding-right: 9px;
  }
  .site-nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1202;
  }
  .hero {
    padding: 31px 0 28px 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  .card-container, .feature-grid, .services-grid, .project-list, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid { gap: 11px; flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .section {
    margin-bottom: 36px;
    padding: 22px 7px;
    border-radius: 12px;
  }
  .newsletter-section {
    padding: 22px 7px;
    border-radius: 12px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .cookie-modal { padding: 20px 7px 18px 7px; }
  .mobile-nav a, .site-nav a { min-width: 140px; font-size: 1.07rem; }
}

/* ===========================================================
   UTILITIES, STATE
   =========================================================== */
.hide { display: none !important; }
.show { display: block !important; }

/* offset fix for fixed headers (e.g., scroll to anchors) */
.anchor-offset { display: block; height: 78px; margin-top: -78px; visibility: hidden; }

/* gold accent underline for titles */
h2, h3 { position: relative; }
h2::after, h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 7px;
}

/* Accessibility: Focus Rings */
a:focus, button:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 1101;
}

/* Subtle interaction for lists */
li {
  transition: color var(--transition), background var(--transition);
}
li strong {
  color: var(--secondary);
}
li:hover { color: var(--gold); }

/* Remove number spinner on number input (future use) */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Decorative gold border for luxury */
.card, .service-item, .project-highlights {
  border-left: 4px solid var(--gold);
}

/* Decorative gold accent ring on feature icons */
.feature-item img, .service-item img {
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  background: linear-gradient(145deg, #fcf6dd 80%, var(--accent) 100%);
  padding: 3px;
  box-shadow: 0 2.5px 11px 0 rgba(246,226,122,0.09);
}

/* Typography micro-interactions */
h1, h2, h3 {
  transition: color .18s cubic-bezier(.42,.4,.98,.68);
}
h1:hover, h2:hover, h3:hover { color: var(--gold); cursor: pointer; }

/* Subtle underline for links in highlight boxes */
.highlight-box a { position: relative; }
.highlight-box a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--primary);
  opacity: 0.08;
  transition: opacity .2s;
}
.highlight-box a:hover::after { opacity: 0.26; }

/* End of stylesheet */
