/* ============================== */
/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6F8;
  color: #27394F;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ==================== */
/* BRAND VARIABLES     */
/* ==================== */
:root {
  --color-primary: #235175;
  --color-secondary: #D8A420;
  --color-accent: #F5F6F8;
  --color-bg: #F5F6F8;
  --color-text: #27394F;
  --color-text-light: #606F8B;
  --color-white: #ffffff;
  --color-border: #e1e4ea;
  --color-shadow: rgba(36, 52, 78, 0.06);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ==================== */
/* TYPOGRAPHY           */
/* ==================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
.subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.4;
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}
ul { padding-left: 18px; }
strong { color: var(--color-primary); font-weight: 600; }
q { quotes: '“' '”'; font-style: italic; color: var(--color-primary); }

@media (max-width: 991px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
}

/* ======================= */
/* LAYOUT & SPACING        */
/* ======================= */
.container {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 991px) {
  .container { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 600px) {
  .section { padding: 26px 6px; margin-bottom: 32px; }
}

/* ============================= */
/* HEADER & NAVIGATION           */
/* ============================= */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 101;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.logo-link img {
  max-height: 46px;
  min-width: 90px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  padding: 4px 4px;
  color: var(--color-secondary);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 40px;
  padding: 10px 32px;
  margin-left: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1px solid var(--color-primary);
  transition: background 0.18s, border 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 12px var(--color-shadow);
}

/* Hide burger for desktop */
.mobile-menu-toggle {
  display: none;
}

/* ========================== */
/* MOBILE NAVIGATION          */
/* ========================== */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 2rem;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin-left: auto;
    transition: background 0.15s;
    z-index: 110;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 200;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  box-shadow: -3px 0 16px rgba(36,52,78,0.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin: 22px 0 14px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}



/* ============================= */
/* FLEXBOX CARDS & GRIDS         */
/* ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(36,52,78,0.13);
}
.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: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURES (Index & List) */
.features {
  background: var(--color-accent);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
  justify-content: flex-start;
  align-items: stretch;
}
.features-grid li {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 24px 20px 28px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.features-grid li:hover {
  box-shadow: 0 4px 18px rgba(36,52,78,0.13);
  transform: translateY(-4px) scale(1.015);
}
.features-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}
.features-icons-row {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 10px;
}
.features-icons-row img {
  width: 38px; height: 38px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-light);
}


/* =============================== */
/* CTA BANNER / SECTIONS           */
/* =============================== */
.cta-banner, .cta-secondary {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 18px var(--color-shadow);
  margin-top: 46px;
  margin-bottom: 30px;
  padding: 28px 20px;
  text-align: center;
}
.cta-banner h2, .cta-secondary h2 { color: var(--color-primary); }
.cta-banner p, .cta-secondary p { color: var(--color-text-light); }
.cta-row {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

/* =============================== */
/* SERVICES LIST                   */
/* =============================== */
.services-list { background: var(--color-accent); }
.service-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0 0 24px 0;
}
.service-list li {
  background: var(--color-white);
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: 12px;
  padding: 18px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.17s;
}
.service-list li:hover {
  box-shadow: 0 4px 18px rgba(36,52,78,0.13);
}
.price {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.02rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 18px;
  margin-bottom: 22px;
}
.process-steps li {
  color: var(--color-text-light);
}

/* =============================== */
/* PROJECTS                        */
/* =============================== */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.project-summary {
  flex: 1 1 320px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 24px 20px;
  transition: box-shadow 0.17s;
}
.project-summary:hover {
  box-shadow: 0 4px 16px rgba(36,52,78,0.13);
}
.results-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 10px;
}
.results-list li {
  color: var(--color-text-light);
}

/* =============================== */
/* TESTIMONIOS                     */
/* =============================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-primary);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(36,52,78,0.15);
  border-color: var(--color-secondary);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.testimonial-header img {
  width: 22px; height: 22px;
}
.testimonial-card p {
  color: var(--color-text);
  font-style: italic;
  font-size: 1.07rem;
  margin-bottom: 0;
}
.testimonial-name {
  color: var(--color-secondary);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1rem;
}
.testimonial-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--color-primary);
  font-weight: 600;
}
.testimonial-trust img {
  width: 26px; height: 26px;
}


/* =============================== */
/* FAQ                             */
/* =============================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-list li {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 18px 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-list h2 {
  font-size: 1.12rem;
  margin: 0 0 6px 0;
  color: var(--color-primary);
}
.faq-contact-prompt p {
  color: var(--color-text);
}
.faq-contact-prompt a {
  color: var(--color-secondary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.17s;
}
.faq-contact-prompt a:hover, .faq-contact-prompt a:focus {
  color: var(--color-primary);
}

/* =============================== */
/* CONTACT PAGE                    */
/* =============================== */
.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  width: 100%;
}
.contact-info-grid .text-section {
  flex: 1 1 320px;
  min-width: 250px;
}
.location-map {
  flex: 1 1 280px;
  min-width: 220px;
  background: var(--color-accent);
  border-radius: 10px;
  padding: 20px 18px 18px 18px;
  color: var(--color-primary);
  box-shadow: 0 0.5px 4px var(--color-shadow);
}
.contact-info-grid ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-info-grid ul img {
  width: 20px; height: 20px;
}
@media (max-width: 900px) {
  .contact-info-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* =============================== */
/* THANK YOU PAGE                  */
/* =============================== */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  text-align: center;
}
.thank-you .btn-primary {
  margin-top: 22px;
}

/* =================== */
/* FOOTER              */
/* =================== */
footer {
  margin-top: 60px;
  padding-top: 36px;
  padding-bottom: 30px;
  background: var(--color-primary);
  color: var(--color-white);
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-branding {
  flex: 2 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-branding img {
  width: 66px; height: auto;
  margin-bottom: 6px;
}
.footer-branding span {
  font-size: 1.02rem;
  color: #e5eefa;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #e4edf7;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e9f0f7;
  font-size: 0.98rem;
  margin-bottom: 0;
}
.footer-contact img {
  width: 19px; height: 19px; opacity: 0.84;
}
@media (max-width: 850px) {
  .footer-flex { flex-direction: column; gap: 24px; align-items: stretch; }
  .footer-branding { align-items: flex-start; }
}
footer .btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin: 0; margin-top: 6px;
  font-size: 1.07rem;
  border: none;
  box-shadow: none;
}
footer .btn-primary:hover {
  background: var(--color-white);
  color: var(--color-secondary);
}

/* ================================== */
/* RESPONSIVE DESIGN (Mobile First)   */
/* ================================== */
@media (max-width: 600px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .footer-flex { padding-left: 2px; padding-right: 2px; }
  .card, .project-summary, .features-grid li, .faq-list li, .service-list li {
    padding: 16px 8px 18px 10px;
  }
}

/* =================================== */
/* MICRO-INTERACTIONS & TRANSITIONS    */
/* =================================== */
a, button, .btn-primary, .features-grid li, .service-list li, .card, .project-summary, .testimonial-card {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.18s;
}

/* Utility */
.hide { display: none !important; }
.flex { display: flex; }
.gap-20 { gap: 20px; }

/* =================================== */
/* COOKIE BANNER & MODAL               */
/* =================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 -2px 14px rgba(36,52,78,0.20);
  z-index: 10000;
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.72,0,0.23,1);
  will-change: transform;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 28px;
  padding: 7px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-white);
  color: var(--color-secondary);
  box-shadow: 0 1px 8px var(--color-shadow);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  display: flex;
  position: fixed;
  z-index: 10010;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,52,78,0.32);
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal-backdrop.active {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(36,52,78,0.18);
  max-width: 400px;
  width: 94vw;
  padding: 28px 21px 21px 21px;
  position: relative;
  z-index: 10011;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateY(40px);
  opacity: 0;
  transition: opacity 0.25s, transform 0.23s;
}
.cookie-modal-backdrop.active .cookie-modal {
  opacity: 1;
  transform: none;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-accent);
  border-radius: 8px;
  padding: 7px 14px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
  margin-right: 0;
}
.cookie-category .category-label {
  flex: 1;
}
.cookie-category.essential input { pointer-events: none; }
.cookie-category.essential .category-label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 22px;
  padding: 7px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ========================= */
/* GENERAL UTILITY MARGINS   */
/* ========================= */
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }

/* END OF CSS */
