/* =====================
   Avi Gate Decor CSS Reset
   ===================== */
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 { min-height: 100vh; }

body, input, button, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #293241;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #111;
}
ul, ol {
  padding-left: 1.3em;
  margin: 16px 0;
}
dl, dt, dd {
  margin: 0;
  padding: 0;
}

/* =====================
   Color Palette
   ===================== */
:root {
  --primary: #293241;
  --secondary: #EE6C4D;
  --accent: #F6F7F8;
  --gray60: #cfd2d7;
  --gray40: #a3a7ad;
  --black: #111113;
  --white: #fff;
}

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.18; }
h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.3; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
p, ul, ol, blockquote, dl, li {
  font-size: 1rem;
  color: #222;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 1.25rem;
  color: var(--gray40);
  font-weight: 400;
  margin-bottom: 20px;
}
strong, b { font-weight: 700; }
em, i { font-style: italic; }

@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.10rem; }
  .subtitle { font-size: 1.035rem; }
}

/* =====================
   Spacing & Containers
   ===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 0;
  }
}

/* =====================
   Header & Navigation
   ===================== */
header {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  width: 100%;
  box-shadow: 0 1px 14px 0 rgba(31,34,39,0.06);
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s;
  margin: 2px 0 0 0;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: var(--white);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 11px 30px;
  border-radius: 26px;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  box-shadow: 0 2px 14px 0 rgba(41,50,65,0.06);
  letter-spacing: 0.01em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #c54c2e;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(41,50,65,0.12);
}
.header .cta-btn { margin-left: 0; }
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.05rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transition: color 0.165s;
  margin-left: 8px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
@media (max-width: 1045px) {
  .main-nav {
    gap: 15px;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  header .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============
   Mobile menu
   ============ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41, 50, 65, 0.99);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,.01,.58,1);
  will-change: transform;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 20px 20px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 60px 0 0 46px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  padding: 9px 0;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--secondary);
}

@media (max-width: 440px) {
  .mobile-nav {
    margin-left: 18px;
    gap: 18px;
  }
  .mobile-menu-close {
    margin-top: 11px;
    margin-right: 11px;
  }
}

/* =====================
   Hero section, content sections, utility classes
   ===================== */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(41,50,65,0.07);
}

@media (max-width: 600px) {
  .section {
    padding: 18px 2px;
    margin-bottom: 28px;
    border-radius: 7px;
  }
  .content-wrapper {
    gap: 13px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
}

/* =====================
   Features, Cards, Testimonial, Lists
   ===================== */
.feature-grid,
.service-cards,
.team-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid > li, .feature-grid > div,
.service-cards > li, .team-grid > div {
  background: var(--accent);
  border-radius: 13px;
  box-shadow: 0 2px 7px 0 rgba(41,50,65,0.06);
  padding: 24px 20px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.feature-grid > li:hover, .feature-grid > div:hover,
.service-cards > li:hover, .team-grid > div:hover {
  box-shadow: 0 4px 26px 0 rgba(41,50,65,0.17);
  transform: translateY(-2px) scale(1.012);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  filter: grayscale(100%) brightness(0.9);
  margin-bottom: 4px;
}
.service-cards .service-price,
.service-list .service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.11rem;
  letter-spacing: 0.02em;
}
.service-cards {
  gap: 24px;
  margin-bottom: 16px;
}
.service-cards > li {
  min-width: 210px;
  min-height: 170px;
}
.team-grid {
  gap: 24px;
  margin-bottom: 18px;
}
.team-grid > div {
  background: var(--accent);
  border-radius: 12px;
  min-width: 210px;
  flex: 1 1 220px;
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .team-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > li, .feature-grid > div, .service-cards > li, .team-grid > div {
    width: 100%;
    min-width: 0;
  }
}

.card-container { /* For possible card containers elsewhere */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(41,50,65,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(41,50,65,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--accent);
  border-radius: 10px;
  padding: 20px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(41,50,65,0.07);
  position: relative;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  font-style: italic;
  color: var(--primary);
  quotes: '\201C''\201D''\2018''\2019';
  margin-bottom: 4px;
  line-height: 1.37;
}
.testimonial-card p {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 10px;
  }
}

/* ==============
   Contact Details
   ==============
*/
.contact-details dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
}
.contact-details dd {
  margin-bottom: 17px;
  margin-left: 17px;
  color: #181a1c;
  font-size: 1rem;
}
.contact-details a {
  word-break: break-all;
}
.location-map {
  margin-top: 14px;
  background: var(--accent);
  padding: 18px 18px 13px 18px;
  border-radius: 10px;
}

/* ============
   Lists, blockquotes, etc.
   ============ */
ul, ol {
  margin-top: 0;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 7px;
}
blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin: 18px 0 20px 0;
  color: #333;
  font-style: italic;
  background: #f6f7f8;
}

/* ================
   Footer
   ================ */
footer {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  padding: 0 0 0 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 24px 20px 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 60px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--gray60);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  line-height: 1.4;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo img {
  height: 36px;
  width: auto;
}
.footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1rem;
  color: var(--gray60);
  border-top: 1px solid #35405b;
  padding-top: 10px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-socials a img {
  width: 24px;
  height: 24px;
  opacity: 0.78;
  transition: opacity 0.19s, filter 0.14s;
  filter: grayscale(100%) brightness(1.1);
}
.footer-socials a:hover img,
.footer-socials a:focus img {
  opacity: 1;
  filter: none;
}
@media (max-width: 768px) {
  footer .container {
    padding: 21px 7px 9px 7px;
    gap: 7px;
  }
  .footer-nav {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }
  .footer-info {
    flex-direction: column;
    gap: 6px;
    align-items: center;
    font-size: 0.98rem;
  }
}

/* ================
   Micro-interactions, Transitions
   ================ */
button, .cta-btn {
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, transform 0.18s;
}
.cta-btn:active,
button:active {
  transform: scale(0.97);
}

/* =======================
   Miscellaneous Utility
   ======================= */
::-webkit-input-placeholder { color: #b2b2b2; }
::-moz-placeholder { color: #b2b2b2; }
:-ms-input-placeholder { color: #b2b2b2; }
::placeholder { color: #b2b2b2; }

hr {
  height: 1px;
  background: var(--gray60);
  border: none;
  margin: 26px 0;
}

/* ================
   Cookie Consent Banner
   ================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #181a1c;
  color: #ececec;
  border-top: 2px solid var(--secondary);
  padding: 23px 18px;
  box-shadow: 0 -2px 20px 0 rgba(41,50,65,0.18);
  z-index: 20000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.46s cubic-bezier(.42,0,.88,1), transform 0.42s cubic-bezier(.42,0,.88,1);
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 7px;
}
.cookie-btn, .cookie-btn-alt {
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 8px 21px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin: 0;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #c54c2e;
  color: var(--white);
}
.cookie-btn-alt {
  background: transparent;
  color: #ececec;
  border: 1.1px solid #808080;
}
.cookie-btn-alt:hover, .cookie-btn-alt:focus {
  border-color: var(--secondary);
  color: var(--secondary);
}

@media (max-width: 670px) {
  .cookie-consent-banner {
    padding: 13px 2px;
    font-size: 0.98rem;
  }
  .cookie-banner-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 22000;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(41,50,65,0.77);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s cubic-bezier(.4,.01,.58,1);
}
.cookie-modal-overlay.visible {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #181a1c;
  border-radius: 17px;
  box-shadow: 0 6px 34px 0 rgba(41,50,65,0.29);
  padding: 38px 32px 29px 32px;
  width: 410px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: fadeinmodal 0.34s cubic-bezier(.29,0,.51,1);
  position: relative;
}
@keyframes fadeinmodal {
  from { opacity: 0; transform: scale(0.89) translateY(32px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 1.87rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 34px; height: 34px;
}
.cookie-modal-close:focus {
  outline: 2px solid var(--secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-category .cookie-toggle {
  width: 36px; height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-category .cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #cfcfcf;
  border-radius: 12px;
  transition: background 0.22s;
}
.cookie-category .cookie-toggle input:checked + .slider {
  background: var(--secondary);
}
.cookie-category .slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-category .cookie-toggle input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-category .slider {
  cursor: pointer;
}
.cookie-category .cookie-locked {
  color: #999;
  font-size: 1.12em;
  margin-left: 7px;
}
@media (max-width: 530px) {
  .cookie-modal {
    padding: 19px 7px 14px 7px;
    width: 97vw;
  }
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}


/* ======================
   Other adjustments
   ====================== */
.contact-info-snippet ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.contact-info-snippet li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
}
.contact-info-snippet img {
  width: 20px;
  height: 20px;
}

/* Newsletters and Blog entries */
.blog-list, .service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 15px;
}
.blog-list li, .service-list li {
  background: var(--accent);
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 2px 10px 0 rgba(41,50,65,0.04);
  margin-bottom: 12px;
  transition: box-shadow 0.12s, transform 0.12s;
}
.blog-list li:hover,
.service-list li:hover {
  box-shadow: 0 4px 18px -2px rgba(41,50,65,0.13);
  transform: translateY(-1px) scale(1.01);
}

/* =====================
   Scrollbar and selection
   ===================== */
::selection {
  background: var(--secondary);
  color: var(--white);
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: #b2b6bb;
}

/* =====================
   Print
   ===================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #181a1c; }
}
