/* ===================================================================
   Stima S fior   |   Elegant Classic Style CSS
   ===================================================================
   Brand: Stima S fior
   Style: Timeless, elegant, refined, muted, classic
   CRITICAL: Flexbox only – NO CSS Grid/Columns
   Author: Senior CSS Developer & UI Designer
   =================================================================== */

/* ----------------------------
   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,
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F2F5F7;
  color: #2C3842;
  font-family: 'Roboto', serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #2C3842;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #D9A95B;
  outline: none;
}
ul, ol {
  margin: 0 0 1.5em 0;
  padding-left: 1.3em;
}
strong, b {
  font-weight: 600;
}
button, .cta-primary {
  font-family: 'Montserrat', serif;
  cursor: pointer;
  outline: none;
}

/* -----------------------------------
   Typography & Headings
----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  color: #211c14;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
@media (min-width: 600px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
}
.subheadline {
  color: #72603a;
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-family: 'Roboto', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}
p {
  margin-bottom: 18px;
}

/* -----------------------------------
   Containers & Classic Spacing
----------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(44, 56, 66, 0.04);
  position: relative;
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .section { padding: 28px 8px; margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .section { padding: 18px 4px; margin-bottom: 32px; }
}

/* -----------------------------------
   HEADER
----------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #ece4da;
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 2px 12px 0 rgba(44, 56, 66, 0.05);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 44px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #2C3842;
  padding: 6px 0;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
header nav a:hover,
header nav a:focus {
  color: #D9A95B;
  border-bottom: 2px solid #D9A95B;
}
.cta-primary {
  background: #D9A95B;
  color: #fff !important;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 10px 0 rgba(217,169,91,0.09);
  border: none;
  text-align: center;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
  margin-left: 18px;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #c18d2d;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(217,169,91,0.16);
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
  }
  header nav {
    gap: 14px;
  }
  .cta-primary {
    margin-left: 4px;
    padding: 8px 16px;
    font-size: .97rem;
  }
  header img {
    height: 38px;
  }
}

/* ------------------------------
   MOBILE NAVIGATION
------------------------------- */
.mobile-menu-toggle {
  background: none;
  color: #2C3842;
  border: none;
  font-size: 2.2rem;
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 1011;
  display: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ede6da;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 12px 32px rgba(44,56,66,0.18);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
  padding-left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.7,.3,.3,1), opacity 0.27s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #2C3842;
  font-size: 2.1rem;
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 3010;
  padding: 2px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #ede6da;
}
.mobile-nav {
  margin-top: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', serif;
  color: #2C3842;
  font-weight: 500;
  padding: 6px 0;
  letter-spacing: 0.01em;
  transition: color 0.17s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #D9A95B;
  border-bottom: 2px solid #D9A95B;
}

@media (max-width: 900px) {
  header .container nav,
  header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------
   HERO SECTION (Homepage)
----------------------------------- */
.hero {
  background: linear-gradient(107deg, #f7f6f3 82%, #e2e0d4 100%);
  padding: 64px 0 48px 0;
  border-bottom: 1px solid #ece4da;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-family: 'Montserrat', serif;
  color: #2C3842;
  font-size: 2.3rem;
  margin-bottom: 18px;
}
.hero .subheadline {
  margin-bottom: 24px;
}
.hero .cta-primary {
  margin-top: 10px;
}
@media (min-width: 650px) {
  .hero {
    padding: 88px 0 68px 0;
  }
  .hero .container {
    align-items: flex-start;
    max-width: 900px;
  }
}

/* -----------------------------------
   FLEXBOX LAYOUTS
----------------------------------- */
.features-grid, .service-grid, .project-highlights, .testimonial-preview-grid, .testimonial-grid, .project-summaries, .articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.features-grid {
  justify-content: space-between;
  align-items: stretch;
}
@media (max-width: 900px) {
  .features-grid, .service-grid, .project-highlights, .testimonial-preview-grid, .testimonial-grid, .project-summaries, .articles-list {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .features-grid, .service-grid, .project-highlights, .testimonial-preview-grid, .testimonial-grid, .project-summaries, .articles-list {
    flex-direction: column;
    gap: 12px;
  }
}

/* Layout patterns from prompt */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(44,56,66,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 16px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f7f6f3;
  padding: 20px 26px;
  border-radius: 14px;
  min-width: 240px;
  box-shadow: 0 2px 8px 0 rgba(44,56,66,0.03);
  margin-bottom: 20px;
  border: 1.5px solid #e6e1da;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(44,56,66,0.12);
  border-color: #D9A95B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------
   Features / Services / Projects Cards
----------------------------------- */
.feature, .service, .project, .article-preview {
  background: #fff;
  padding: 26px 20px 20px 20px;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(44,56,66,0.04);
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 404px;
  transition: box-shadow 0.22s, border-color 0.15s;
  border: 1.5px solid #ede6da;
  margin-bottom: 20px;
}
.feature:hover,
.service:hover,
.project:hover,
.article-preview:hover {
  box-shadow: 0 8px 26px 0 rgba(44,56,66,0.14);
  border-color: #D9A95B;
}
.feature img, .service img {
  width: 42px;
  margin-bottom: 14px;
}
.feature h3, .service h3 {
  color: #2C3842;
  font-family: 'Montserrat', serif;
  font-size: 1.13rem;
  margin-bottom: 10px;
}
.feature p, .service p {
  color: #877744;
  font-size: 1rem;
}
.project-summaries, .project-highlights {
  margin-bottom: 24px;
}

/* -----------------------------------
   Testimonials
----------------------------------- */
.testimonial-details {
  margin-top: 8px;
  color: #2C3842;
  font-size: 1rem;
  font-family: 'Roboto', serif;
  display: flex;
  gap: 10px;
  align-items: center;
  font-style: italic;
}
.testimonial-details span:last-child {
  color: #D9A95B;
  font-size: 1rem;
  letter-spacing: 0.03em;
  font-weight: 600;
}

/* Ensure strong contrast in testimonial sections */
.testimonial-card,
.testimonial-card p,
.testimonial-details {
  color: #2C3842;
}

/* -----------------------------------
   Misc Lists
----------------------------------- */
.service-list, .benefits-list, .contact-summary, .contact-details, .business-info, .trust-signals, .blog-categories ul, .next-steps ul {
  margin-bottom: 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.service-list li::before, .benefits-list li::before, .business-info li::before, .trust-signals li::before, .blog-categories ul li::before, .next-steps ul li::before {
  content: '• ';
  color: #D9A95B;
  font-size: 1.1em;
}
.contact-summary img, .contact-details img, .trust-signals img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  vertical-align: middle;
}

/* -----------------------------------
   Blog & Article Preview
----------------------------------- */
.article-preview {
  padding: 18px 14px 18px 18px;
  margin-bottom: 16px;
  border-left: 4px solid #D9A95B;
  box-shadow: 0 2px 6px 0 rgba(44,56,66,0.04);
}
.article-preview h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

/* -----------------------------------
   Forms, Map Placeholder (Contact)
----------------------------------- */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fffefc;
  padding: 14px 12px;
  border-radius: 10px;
  margin-top: 22px;
  box-shadow: 0 2px 6px 0 rgba(44,56,66,0.03);
}
.map-placeholder img {
  width: 40px;
  height: 40px;
}

/* -----------------------------------
   Footer
----------------------------------- */
footer {
  background: #2C3842;
  color: #fff;
  padding: 30px 0 18px 0;
  margin-top: 40px;
  border-top: 2px solid #D9A95B;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom:10px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 400;
  font-size: .99rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
footer nav a:hover {
  color: #D9A95B;
  border-bottom: 2px solid #D9A95B;
}
footer p {
  color: #fff;
  font-size: 0.93rem;
}

/* -----------------------------------
  Cookie Consent Banner & Modal
----------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffcef;
  color: #2C3842;
  box-shadow: 0 -2px 16px 0 rgba(44,56,66,0.12);
  width: 100vw;
  z-index: 5000;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: transform 0.45s cubic-bezier(.63,.13,.33,1), opacity 0.36s;
  border-top: 2px solid #D9A95B;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-actions button {
  font-family: 'Montserrat', serif;
  padding: 7px 22px;
  font-size: .98rem;
  border-radius: 34px;
  border: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  min-width: 120px;
}
.cookie-actions .cookie-accept {
  background: #D9A95B;
  color: #fff;
}
.cookie-actions .cookie-accept:hover { background: #b28731; }
.cookie-actions .cookie-reject {
  background: #e0e0de;
  color: #2C3842;
}
.cookie-actions .cookie-reject:hover { background: #efe8d7; }
.cookie-actions .cookie-settings {
  background: #fff;
  color: #D9A95B;
  border: 1px solid #D9A95B;
}
.cookie-actions .cookie-settings:hover { background: #f7f2e9; }
/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  top:0; left:0; right:0; bottom:0;
  background: rgba(44, 56, 66, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(44,56,66,0.18);
  padding: 36px 32px 28px 32px;
  width: 96vw;
  max-width: 420px;
  position: relative;
  animation: modalIn .5s cubic-bezier(.72,.05,.57,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes modalIn {
  from { transform: translateY(90px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 0px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 11px 0;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 20px;
  background: #ece4da;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-modal .cookie-toggle:checked {
  background: #D9A95B;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-modal .cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #2C3842;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 7px;
  transition: background .13s;
}
.cookie-modal-close:hover { background: #ede6da; }
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', serif;
  padding: 7px 24px;
  font-size: .96rem;
  border-radius: 31px;
  cursor: pointer;
  border: none;
  margin-right: 2px;
  font-weight: 500;
  background: #D9A95B;
  color: #fff;
  transition: background 0.17s;
}
.cookie-modal-actions .cookie-cancel {
  background: #e0e0de;
  color: #2C3842;
}
.cookie-modal-actions .cookie-cancel:hover { background: #efe8d7; }
.cookie-modal-actions .cookie-save:hover { background: #c18d2d; }

/* -----------------------------------
   Confirmation Message (Thank You)
----------------------------------- */
.confirmation-message {
  background: #f7f6f3;
  padding: 20px 30px;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(44,56,66,0.08);
  margin-bottom: 22px;
  font-size: 1.12rem;
}
.next-steps ul li {
  font-size: 1rem;
}

/* -----------------------------------
   Responsive Design
----------------------------------- */
@media (max-width: 700px) {
  .container,
  .cookie-modal {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero h1 { font-size: 1.5rem; }
}
@media (max-width: 495px) {
  h1 { font-size: 1.1rem; }
  h2 { font-size: 1rem; }
  .cta-primary, .cookie-actions button { font-size: .915rem; }
  .cookie-modal { padding: 18px 4px; max-width: 97vw; }
}

/* Util classes */
.mt-0{margin-top:0!important;} .mb-0{margin-bottom:0!important;}
.mb-2{margin-bottom:2px;} .mt-2{margin-top:2px;}
.mb-12{margin-bottom:12px;}
.d-none{display:none!important;}

/* Focus & Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2.5px solid #D9A95B;
  outline-offset: 2px;
  border-radius: 4px;
}

/* -----------------------------------
   Subtle Transitions & Micro-interactions
----------------------------------- */
.card, .feature, .service, .article-preview {
  transition: box-shadow 0.18s, border-color 0.15s, transform 0.16s;
}
.card:hover, .feature:hover, .service:hover, .article-preview:hover {
  transform: translateY(-2px) scale(1.015);
}
.cta-primary, .cookie-actions button, .cookie-modal-actions button {
  transition: background 0.19s, color 0.16s, box-shadow .17s, transform 0.14s;
}
.cta-primary:active,
.cookie-actions button:active,
.cookie-modal-actions button:active {
  transform: scale(0.98);
}

/* -----------------------------------
   Print Styles (optional)
----------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff!important; color: #111!important; }
}
