/* =============================================================
   Hungeereda Arte Vivo - style.css
   Geometric Structured Style | Flexbox Only | Brand Consistency
   ============================================================= */

/* =============== 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;
}

html {
  box-sizing: border-box; 
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #27345C;
  background: #FBEDDF;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #C26734;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27345C;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* =============== BRAND TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #27345C;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.15;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  text-transform: uppercase;
}

p, li, span, strong {
  font-family: 'Nunito', Arial, sans-serif;
  color: #27345C;
}
strong {
  font-weight: 700;
}

/* =============== GENERAL LAYOUT CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 4px solid #C26734;
  z-index: 40;
  position: sticky;
  top: 0;
  box-shadow: 0 3px 16px 0 rgba(39,52,92,0.04);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  letter-spacing: 0.5px;
  color: #27345C;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  text-transform: uppercase;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #C26734;
  border-bottom: 2px solid #C26734;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #27345C;
  cursor: pointer;
  z-index: 50;
  margin-left: 24px;
  transition: color 0.2s;
  padding: 8px 12px;
}
.mobile-menu-toggle:focus {
  color: #C26734;
}

@media (max-width: 1050px) {
  .container {
    max-width: 95vw;
  }
  .main-nav {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    font-size: 0.95rem;
  }
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 8px 10px 8px 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =============== MOBILE MENU =============== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39, 52, 92, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.23,1.13,.62,1);
  z-index: 1100;
  padding-top: 0;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  align-self: flex-end;
  margin: 26px 24px 2px 0;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  color: #C26734;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
  gap: 16px;
  padding: 0 40px;
}
.mobile-nav a {
  color: #FBEDDF;
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 0 14px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C26734;
  border-bottom: 2px solid #C26734;
}

@media (max-width: 500px) {
  .mobile-nav {
    padding: 0 18px;
  }
  .mobile-menu-close {
    margin-right: 8px;
    margin-top: 19px;
  }
}

/* =============== SECTIONS, SPACING, CARDS =============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
/* Override for last section */
section:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 24px;
  background: #fff;
  border: 2px solid #27345C;
  border-radius: 21px;
  box-shadow: 0 4px 32px 0 rgba(39,52,92,0.08);
  position: relative;
  min-width: 255px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 8px 48px 0 rgba(94,54,27,0.12);
  border-color: #C26734;
}
.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) {
  .section, section {
    margin-bottom: 34px;
    padding: 26px 6px;
  }
  .card {
    min-width: 98%;
    padding: 14px;
  }
  .content-wrapper, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =============== FEATURE LIST & CARDS =============== */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
  width: 100%;
}
.feature-list li {
  background: #fff;
  border: 2px solid #27345C;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(39,52,92,.10);
  padding: 32px 24px 28px 24px;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  transition: box-shadow 0.18s, border-color 0.18s;
  position: relative;
}
.feature-list li:hover {
  box-shadow: 0 6px 36px 0 rgba(39,52,92,0.17);
  border-color: #C26734;
}
.feature-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
.feature-list h3 {
  margin: 0;
  color: #C26734;
  font-size: 1.15rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Archivo Black', Arial, sans-serif;
}
.feature-list p {
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .feature-list li {
    min-width: 170px;
    padding: 20px 10px 20px 10px;
    max-width: 99vw;
  }
  .feature-list {
    gap: 14px;
  }
}

/* =============== BUTTONS & CTAS =============== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #C26734;
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 12px 0 rgba(194,103,52,0.13);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  min-width: 148px;
  margin-top: 4px;
}
.cta-button:hover, .cta-button:focus {
  background: #27345C;
  color: #FBEDDF;
  box-shadow: 0 2px 24px 0 rgba(39,52,92,0.22);
  outline: none;
}
.button-secondary {
  background: #27345C;
  color: #fff;
  border: 2px solid #C26734;
}
.button-secondary:hover, .button-secondary:focus {
  background: #fff3ea;
  color: #C26734;
  border: 2px solid #27345C;
}

/* =============== CTA BANNER =============== */
.cta-banner {
  background: #fff;
  border-radius: 33px;
  border: 2.4px solid #D78554;
  box-shadow: 0 2px 16px 0 rgba(215,133,84,0.10);
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-banner h2 {
  text-align: center;
  letter-spacing: 1.5px;
  color: #27345C;
}
.cta-banner p {
  text-align: center;
}

@media (max-width: 600px) {
  .cta-banner {
    padding: 18px 8px;
    border-radius: 18px;
  }
  .cta-banner h2 {
    font-size: 1.22rem;
  }
}

/* =============== TIPS & PROJECT TEASERS =============== */
.tip-card, .project-teaser, .confirmation {
  background: #f6e6ce;
  border: 2px solid #27345C;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 2px 18px 0 rgba(183,135,84,0.09);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.project-teaser h3 {
  color: #C26734;
  margin-bottom: 5px;
}

/* =============== TESTIMONIALS =============== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2px solid #27345C;
  border-radius: 19px;
  box-shadow: 0 2px 18px 0 rgba(39,52,92,0.09);
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  flex: 1 1 auto;
  color: #27345C;
  font-size: 1.13em;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: #C26734;
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1em;
  white-space: nowrap;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px 0 rgba(94,54,27,0.13);
  border-color: #C26734;
}

@media (max-width: 800px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }
}

/* =============== FOOTER =============== */
footer {
  background: #27345C;
  color: #FFFFFF;
  padding: 38px 0 12px 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-branding {
  flex: 2 1 200px;
  min-width: 180px;
}
.footer-branding img {
  width: 100px;
  margin-bottom: 10px;
}
.footer-branding p {
  color: #ffffff;
  max-width: 220px;
  font-size: 1em;
  line-height: 1.3;
}
.footer-nav {
  flex: 1 1 150px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #FBEDDF;
  font-family: 'Archivo Black', Arial, sans-serif;
  text-transform: uppercase;
  font-size: .94rem;
  letter-spacing: 1.2px;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C26734;
}
.footer-contact {
  flex: 2 1 280px;
  color: #fff;
  font-size: 0.96em;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}
.footer-contact img {
  display: inline;
  width: 18px;
  margin-bottom: -4px;
  margin-right: 9px;
}
footer span, footer strong {
  color: #ffffff;
}
@media (max-width: 1050px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-branding img {
    width: 80px;
  }
}
@media (max-width: 700px) {
  footer {
    padding: 18px 0 9px 0;
  }
  .footer-branding img {
    width: 62px;
  }
}


/* =============== SPECIAL LAYOUTS =============== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}
.confirmation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  border: 2px solid #C26734;
  background: #FFF3EA;
  box-shadow: 0 1.5px 10px 0 rgba(194,103,52,.13);
}
.confirmation img {
  width: 38px;
  height: 38px;
}
@media (max-width: 530px) {
  .confirmation {
    flex-direction: column;
    gap: 7px;
    padding: 11px 7px;
  }
}


/* =============== LINKS INLINE STYLING =============== */
li a {
  text-decoration: underline;
  text-underline-offset: 2.8px;
  color: #C26734;
  transition: color 0.18s;
}
li a:hover, li a:focus {
  color: #27345C;
}


/* =============== RESPONSIVE TYPOGRAPHY =============== */
@media (max-width: 768px) {
 h1 { font-size: 1.53rem; }
 h2 { font-size: 1.13rem; }
 h3 { font-size: .98rem; }
 body, p, li, span { font-size: .99rem; }
}


/* =============== FLEX-ONLY CONTENT - NO GRID - SPACING =============== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .section { margin-bottom: 34px; padding: 18px 6px; }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-card, .feature-item, .card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff3ea;
  color: #27345C;
  box-shadow: 0 -2px 12px 0 rgba(39,52,92,0.07);
  border-top: 2px solid #D78554;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px 22px 40px;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.66,-0.07,.4,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Archivo Black', Arial, sans-serif;
  border: none;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: .99rem;
  background: #C26734;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, color .14s;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: #C26734;
  border: 2px solid #C26734;
}
.cookie-banner button.cookie-settings {
  background: #27345C;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #27345C;
  color: #FBEDDF;
}
.cookie-banner button.cookie-reject:hover {
  background: #fff3ea;
  color: #C26734;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 8px 19px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
}

/* =============== COOKIE PREFERENCES MODAL =============== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(39,52,92,0.84);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 27px;
  width: 98vw;
  max-width: 440px;
  padding: 34px 26px 28px 26px;
  box-shadow: 0 16px 68px 0 rgba(39,52,92,.25);
  color: #27345C;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  border: 2.2px solid #C26734;
}
.cookie-modal h3 {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1.8px;
  margin-bottom: 4px;
  color: #C26734;
  text-transform: uppercase;
}
.cookie-category {
  margin: 0 0 13px 0;
  padding: 12px 0;
  border-bottom: 1.4px dashed #eee1d2;
}
.cookie-modal label {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1em;
  color: #27345C;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #C26734;
  border-radius: 4px;
  margin-right: 2px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: #C26734;
  color: #fff;
  border: none;
  font-family: 'Archivo Black', Arial, sans-serif;
  border-radius: 22px;
  padding: 10px 26px;
  font-size: .99rem;
  cursor: pointer;
  transition: background 0.13s, color .13s;
}
.cookie-modal button.cookie-modal-cancel {
  background: #fff;
  color: #C26734;
  border: 2px solid #C26734;
}
.cookie-modal button.cookie-modal-cancel:hover {
  background: #fff3ea;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #27345C;
  color: #fff3ea;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #27345C;
  cursor: pointer;
  z-index: 10;
  padding: 2px 7px;
  border-radius: 6px;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #C26734;
  background: #F5F1ED
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 7px 14px 9px;
    border-radius: 12px;
  }
  .cookie-modal .cookie-modal-close {
    font-size: 1.43rem;
    top: 5px;
    right: 7px;
  }
}

/* =============== GEOMETRIC STRUCTURED DECORATIONS =============== */
/* Geometric section break line or triangles */
.section::before {
  content: '';
  display: block;
  width: 54px;
  height: 5px;
  background: #27345C;
  margin-bottom: 22px;
  border-radius: 50px;
}
.section:first-child::before {
  display: none;
} 
.content-wrapper > h2:first-child {
  margin-top: 0;
}
@media (max-width: 768px) {
  .section::before {
    width: 33px;
    height: 3px;
    margin-bottom: 12px;
  }
}

/* =============== MICRO-INTERACTIONS & ANIMATIONS =============== */
.card, .feature-list li, .testimonial-card, .cta-banner, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.25s, border-color 0.25s, background 0.23s, color 0.23s;
}
.cta-button, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

/* =============== ACCESSIBILITY ENHANCEMENTS =============== */
:focus {
  outline: 2.5px dashed #C26734;
  outline-offset: 2px;
}

/* =============== SCROLLBAR STYLING =============== */
::-webkit-scrollbar {
  width: 9px;
  background: #f5eee3;
}
::-webkit-scrollbar-thumb {
  background: #C26734;
  border-radius: 7px;
}

/* =============== PRINT =============== */
@media print {
  header, .main-nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important; 
  }
  section, .section {
    margin-bottom: 16px !important;
    padding: 4px !important;
  }
  body { background: #fff !important; color: #27345C; }
}

/* =============== END OF STYLE.CSS =============== */
