/* ============================================================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F9F9F7;
  color: #1C2833;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1C2833;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #F5A623;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
strong, b {
  font-weight: 600;
}

/*
============================================================
 FONT FAMILY - "elegant_classic" influence, use Montserrat for display (headers) & Roboto for body
============================================================
*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #22232f;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 600;
}
h4 {
  font-size: 1.15rem;
}
h5, h6 {
  font-size: 1rem;
}
p, .text-section {
  font-family: 'Roboto', 'Georgia', serif;
  color: #30343A;
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.75;
}

/*
============================================================
  COLORS & BRAND PALETTE
============================================================
*/
:root {
  --primary: #1C2833;
  --secondary: #ffffff;
  --accent: #F5A623;
  --bg-muted: #F3F2EF;
  --border-muted: #E1DDD7;
  --text-muted: #6D7179;
  --shadow: rgba(28,40,51,0.07);
}

/* ============================================================
   CONTAINER & GENERIC LAYOUT
   ============================================================ */
.container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  background: #fff;
  box-shadow: 0 2px 16px var(--shadow);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  margin-right: 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.16s, color 0.17s;
}
.main-nav a.cta-btn {
  background: var(--accent);
  color: #fff!important;
  border-radius: 7px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  margin-left: 10px;
  padding: 8px 20px;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 10px var(--shadow);
  transition: box-shadow .23s, background .17s;
}
.main-nav a.cta-btn:hover,
.main-nav a.cta-btn:focus {
  background: #e39617;
  box-shadow: 0 4px 18px var(--shadow);
}
.main-nav a:hover {
  background: var(--bg-muted);
  color: var(--accent);
}
.main-nav a.active {
  text-decoration: underline;
  color: var(--accent);
}

.mobile-menu-toggle {
  display: Flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 9px;
  height: 48px;
  width: 48px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.27s;
  z-index: 100;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================================================
   MOBILE SLIDE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px 0 var(--shadow);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.48,.4,.31,1), box-shadow 0.26s;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 32px 0 var(--shadow);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--primary);
  align-self: flex-end;
  margin: 0 24px 32px 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
  padding: 12px 0;
  border-radius: 7px;
  transition: background .16s, color .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/*
============================================================
  HERO SECTION
============================================================
*/
.hero {
  min-height: 330px;
  background: #fcfaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0 32px 0;
}
.hero .content-wrapper {
  max-width: 740px;
  margin: 0 auto;
  align-items: center;
}
.hero h1 {
  text-align: center;
  font-size: 2.4rem;
  color: var(--primary);
  letter-spacing:0.01em;
}
.hero p {
  text-align: center;
  max-width: 600px;
  margin-bottom: 20px;
}
.hero .cta-btn {
  display: inline-block;
  margin: 0 auto;
  font-size: 1.09rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 200px;
    padding: 28px 0 28px 0;
  }
  .hero .content-wrapper {
    padding: 0;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 1.45rem;
    text-align: left;
  }
  .hero p {
    text-align: left;
  }
}

/*
============================================================
  FLEXBOX CARD & FEATURE-GRID COMPONENTS
============================================================
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 32px 26px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 320px;
  position: relative;
  transition: box-shadow 0.21s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px var(--shadow);
  transform: translateY(-4px) scale(1.025);
}

/* FEATURES GRID */
.feature-grid, .service-categories, .category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature-grid > div, .service-categories > div, .category-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
  transition: box-shadow 0.23s, transform 0.22s;
}
.feature-grid > div:hover,
.service-categories > div:hover,
.category-grid > div:hover {
  box-shadow: 0 6px 36px var(--shadow);
  transform: translateY(-4px) scale(1.021);
}
.feature-grid img,
.service-categories img,
.category-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 5px;
}
.feature-grid h3,
.service-categories h3,
.category-grid h3 {
  margin-top: 6px;
}
@media (max-width: 900px) {
  .feature-grid, .service-categories,.category-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div,.service-categories > div,.category-grid > div {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
}

/*
============================================================
  CARDS, GRIDS, FLEX PATTERNS, TEXT-IMAGE SECTIONS
============================================================
*/
.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;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================== ARTICLE LIST (BLOG) ===================== */
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.article-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 32px 28px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
}
.article-list h3 {
  font-weight: 600;
  margin-bottom: 9px;
}

/* ================== TAGS AND BLOG CATEGORY GRID ============== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.tags span {
  font-size: .95rem;
  color: var(--accent);
  background: var(--bg-muted);
  border-radius: 16px;
  padding: 4px 13px 4px 12px;
  font-family: 'Roboto', Georgia, serif;
  font-weight: 500;
}

/* ========================= TESTIMONIALS ======================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  box-shadow: 0 2px 16px var(--shadow);
  border-radius: 14px;
  gap: 20px;
  padding: 20px 28px 18px 24px;
  margin-bottom: 22px;
  transition: box-shadow .19s, transform .18s;
  color: #191c21;
  min-width: 240px;
  max-width: 560px;
}
.testimonial-card p {
  color: #23262B;
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 6px;
  font-family: 'Georgia', 'Roboto', serif;
  line-height: 1.75;
}
.testimonial-card strong {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 42px var(--shadow);
  transform: scale(1.019);
  background: #f8f7f5;
}
@media (max-width: 768px) {
  .testimonial-card {
    max-width: 100%;
    padding: 16px 11px 14px 10px;
  }
}

/*
============================================================
  BUTTONS, CTA & INTERACTIONS
============================================================
*/
.cta-btn {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 var(--shadow);
  transition: background .18s, box-shadow .18s, transform .13s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #e39617;
  color: #fff;
  transform: translateY(-2px) scale(1.022);
  box-shadow: 0 6px 32px var(--shadow);
}
button, .button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius:7px;
  cursor: pointer;
  transition:background 0.17s;
}
.button {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  margin-right: 9px;
}
.button:hover, .button:focus {
  background: var(--accent);
  color: #fff;
}

/*
============================================================
  LISTS, ULs, OLS, etc. (for elegant_classic feel)
============================================================
*/
ul, ol {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: 'Roboto',Georgia,serif;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 2px;
}
ul.contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
ul.contact-info li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  color: #22232f;
  font-size: 1.07rem;
}
ul.contact-info img {
  width: 25px; height: 25px;
}

/* ============================================================
   VALUES & PROCESS LISTS
   ============================================================ */
section ul, section ol {
  padding-left: 2px;
}
section ul > li, section ol > li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 26px 21px 19px 21px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  font-size: 1.07rem;
  min-width: 220px;
}
section ul > li img, section ol > li img {
  margin-bottom: 8px;
  height: 36px;
  width: 36px;
  align-self: flex-start;
}
section ul > li strong, section ol > li strong {
  font-size: 1.11rem;
  color: var(--accent);
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 0;
  font-weight: 700;
}

/*
============================================================
  SECTION SPACING
============================================================
*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 34px;
    padding: 32px 4px;
  }
}

/*
============================================================
  FORM/LABELS/TEXT SECTIONS
============================================================
*/
.text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 22px 24px 19px 22px;
  margin-bottom: 17px;
}
.text-section p {
  margin-bottom: 9px;
}

/*
============================================================
  FOOTER
============================================================
*/
footer {
  background: #f6f5f2;
  color: #22232f;
  font-size: 1rem;
  font-family: 'Roboto',Georgia,serif;
  margin-top: 64px;
  padding: 30px 0 24px 0;
  border-top: 1px solid var(--border-muted);
}
footer .container {
  flex-direction: column;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 15px;
  justify-content: center;
}
.footer-nav a {
  color: var(--primary);
  background: none;
  font-size: 1rem;
  text-decoration: underline;
  font-weight: 400;
  padding: 5px 6px;
  border-radius: 5px;
  transition: background .11s, color .16s;
}
.footer-nav a:hover {
  background: var(--accent);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-contact img {
  height: 50px;
}
.footer-contact div {
  display: flex;
  flex-direction: row;
  gap: 7px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  color: var(--primary);
}
footer p {
  text-align: center;
  color: #767179;
  font-size: 0.95rem;
  margin-top: 14px;
}
@media (max-width: 767px) {
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/*
============================================================
  COOKIE CONSENT BANNER & MODAL
============================================================
*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  box-shadow: 0 -4px 24px var(--shadow);
  border-top: 1.5px solid var(--border-muted);
  padding: 22px 20px 22px 30px;
  z-index: 209;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.53,.46,.31,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  color: var(--primary);
  flex: 1 1 320px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Georgia, serif;
  padding: 9px 19px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1rem;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 7px 0 var(--shadow);
  transition: background .15s, color .15s, box-shadow .13s;
}
.cookie-banner .accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #e39617;
}
.cookie-banner .reject {
  background: #FFF;
  color: var(--primary);
  border: 1.2px solid var(--primary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #ebebeb;
  color: var(--accent);
  border-color: var(--accent);
}
.cookie-banner .settings {
  background: #fcfaf7;
  color: var(--primary);
  border: 1.2px solid var(--border-muted);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #f3f2ef;
  color: #22232f;
  border-color: var(--accent);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 18px 5vw 18px 5vw;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
}
/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 211;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,34,44,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .27s cubic-bezier(.4,1,.55,.87);
  opacity: 1;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 16px 58px 0 var(--shadow);
  padding: 44px 30px 40px 34px;
  max-width: 96vw;
  min-width: 280px;
  width: 420px;
  font-size: 1.07rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
  z-index: 1000;
}
.cookie-modal h2 {
  font-size: 1.55rem;
  margin-bottom: 7px;
  color: var(--primary);
}
.cookie-modal label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
  font-size: 1.02rem;
  font-family: 'Roboto', Georgia, serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 19px;
  height: 19px;
}
.cookie-modal .category {
  background: #f7f6f3;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 11px;
  border: 1px solid var(--border-muted);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Georgia, serif;
  border-radius: 6px;
  font-weight: 700;
  padding: 9px 20px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 9px 0 var(--shadow);
  cursor: pointer;
}
.cookie-modal .save-btn {
  background: var(--accent);
  color: #fff;
}
.cookie-modal .save-btn:hover {
  background: #e39617;
}
.cookie-modal .close-btn {
  background: #fff;
  color: var(--primary);
  border: 1.2px solid var(--primary);
}
.cookie-modal .close-btn:hover {
  background: #f6f5f2;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 8px 24px 14px;
    width: 98vw;
  }
}

/* ==================== MISCELLANEOUS ========================== */
::-webkit-scrollbar {width:10px;background:var(--bg-muted);}
::-webkit-scrollbar-thumb {background: #ded9d3;border-radius:5px;}
::selection {background:var(--accent);color:#fff;}

/* =========== Animations ========== */
a, button, .cta-btn, .card, .feature-grid > div, .service-categories > div, .category-grid > div, .testimonial-card {
  transition-property: background, color, box-shadow, transform;
  transition-duration: .19s, .19s, .21s, .18s;
  transition-timing-function: cubic-bezier(.45,.85,.39,1.09);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 6px;
  }
}
@media (max-width: 800px) {
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .service-categories, .category-grid {
    gap: 17px;
  }
  .card {
    min-width: 0;
    flex: 1 1 100%;
    padding: 19px 10px;
  }
}
@media (max-width: 600px) {
  header .container {
    padding: 0 7px;
    gap: 0;
    min-height: 56px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
