/* ===============================================================
   CSS RESET & BASE TYPOGRAPHY | Cairn Dorato Venezia Monochrome Sophisticated
   =============================================================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  background: #fff;
  font-size: 16px;
  font-family: 'Lato', Arial, sans-serif;
  color: #111;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #232323;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #25353D;
  text-decoration: none;
  transition: color .2s;
}
a:focus, a:hover {
  color: #111;
  outline: none;
}

/* =============================
   TYPOGRAPHY HIERARCHY
   ============================= */
h1, .display, .hero h1 {
  font-family: 'Playfair Display', serif;
  color: #111;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.17;
  margin-bottom: 16px;
}
@media (min-width:900px){
  h1, .display, .hero h1 {font-size: 3.5rem;}
}
h2 {
  font-family: 'Playfair Display', serif;
  color: #232323;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Playfair Display', serif;
  color: #232323;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #232323;
  margin-bottom: 10px;
}

p, ul, ol, li, .btn-link, .btn-primary {
  font-family: 'Lato', Arial, sans-serif;
  color: #232323;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 10px;
}
li {
  margin-bottom: 8px;
}
ul, ol {
  margin-left: 1.4em;
}
strong, b {
  font-weight: 700;
}

small {
  font-size: 0.90rem;
  color: #555;
}

.subheadline {
  color: #5e5e5e;
  font-size: 1.22rem;
  font-style: italic;
  margin-bottom: 24px;
  font-family: 'Lato', Arial, sans-serif;
  line-height: 1.4;
}

/* ====================================================
   LAYOUT CONTAINERS & FLEXBOX SYSTEM
   ==================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(28,28,28,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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px 16px 24px;
  background: #F4F1ED;
  border: 1.2px solid #e1e1e1;
  border-radius: 14px;
  min-width: 240px;
  max-width: 375px;
  box-shadow: 0 2px 12px rgba(40,40,40,0.11);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, transform .16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(40,40,40,0.16);
  transform: translateY(-2px) scale(1.013);
}
.testimonial-footer {
  font-size: 0.98rem;
  color: #5e5e5e;
  font-style: italic;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEAVY FLEX USAGE FOR ALL PAGINATED GRIDS/SECTIONS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature {
  background: #fff;
  border: 1.2px solid #e5e5e5;
  border-radius: 14px;
  flex: 1 1 210px;
  min-width: 210px;
  margin-bottom: 20px;
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, border-color .18s, transform .18s;
  box-shadow: 0 1px 8px rgba(40,40,40,0.07);
}
.feature img {
  margin-bottom: 18px;
  width: 44px;
  height: 44px;
  filter: grayscale(0.25) contrast(1.1);
}
.feature:hover, .feature:focus {
  box-shadow: 0 6px 24px rgba(37,53,61,0.15);
  border-color: #25353D;
  transform: translateY(-6px) scale(1.017);
}

.tips-grid, .team-list, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.tips-grid > div, .team-member {
  background: #fff;
  border-radius: 12px;
  border: 1.2px solid #e9e9e9;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.06);
  flex: 1 1 200px;
  padding: 20px 18px;
  transition: box-shadow .18s;
}
.tips-grid > div:hover, .team-member:hover {
  box-shadow: 0 5px 18px rgba(40,40,40,0.1);
}

.team-list {
  gap: 22px;
}
.certifications ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style-type: disc;
}
.certifications li {
  font-size: 1rem;
  color: #444;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-details, .map-location {
  margin-bottom: 20px;
}

.client-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.process-overview ol {
  margin-left: 1.5em;
  margin-bottom: 12px;
}

.text-section {
  margin-bottom: 18px;
}

/* HERO SECTIONS & CTA */
.hero {
  background: linear-gradient(96deg,#fff 60%,#EAEBEC 100%);
  padding: 64px 0 48px 0;
  border-bottom: 2px solid #edeaea;
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 26px 0;
  }
}
.cta {
  background: #F4F1ED;
  padding: 42px 0 44px 0;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(40,40,40,0.09);
  margin-bottom: 48px;
}

/* =============================
   BUTTON & LINKS STYLES
   ============================= */
.btn-primary {
  background: #25353D;
  color: #fff;
  border: none;
  border-radius: 40px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 38px;
  letter-spacing: .015em;
  box-shadow: 0 2px 10px rgba(37,53,61,0.07);
  transition: background .2s, color .22s, transform .16s, box-shadow .23s;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #111;
  color: #E1C482;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(37,53,61,0.14);
  outline: none;
}
.btn-link {
  color: #25353D;
  font-weight: 500;
  background: none;
  border: none;
  font-size: 1rem;
  border-radius: 3px;
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}
.btn-link:hover, .btn-link:focus {
  color: #111;
  text-decoration: none;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.035);
  z-index: 102;
  position: relative;
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #232323;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: .01em;
  font-size: 1rem;
  padding: 5px 11px;
  border-radius: 8px;
  transition: color .19s, background .12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #25353D;
  color: #E1C482;
  outline: none;
}

/* Header Logo Sizing */
.header-bar img {
  height: 38px;
  width: auto;
}

/* =============================
   MOBILE MENU NAVIGATION
   ============================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #25353D;
  padding: 8px 16px;
  margin-right: 10px;
  cursor: pointer;
  z-index: 300;
  transition: color .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #111;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(0.87,0.14,0.27,1.05), opacity 0.14s;
  padding: 14px 32px 24px 18px;
  box-shadow: 0 8px 80px 0 rgba(37,53,61,0.2);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #25353D;
  position: absolute;
  top: 22px;
  right: 26px;
  z-index: 10003;
  padding: 8px;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E1C482;
  background: none;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  color: #232323;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 14px 0 14px 8px;
  border-radius: 7px;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #25353D;
  color: #E1C482;
  outline: none;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #232323;
  color: #F4F1ED;
  padding: 44px 0 0 0;
  border-top: 1px solid #e6e6e6;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 24px;
}
.footer-main a img {
  height: 32px;
  margin-bottom: 18px;
}
.footer-menus {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #d3d3d3;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E1C482;
  text-decoration: underline;
  outline: none;
}
.footer-contact {
  display: flex;
  background-color: #d3d3d3;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.74;
}
.footer-contact a {
  color: #E1C482;
  text-decoration: underline;
}
footer small {
  color: #8a8a8a;
  display: block;
  padding: 20px 0 20px 0;
  text-align: center;
  font-size: 0.98rem;
}

/* =============================
   THANK YOU SECTION
   ============================= */
.thank-you-section {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* =============================
   COOKIE CONSENT BANNER (BOTTOM) & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #232323;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 21px 36px 22px 22px;
  box-shadow: 0 -3px 30px rgba(15,15,15,0.13);
  z-index: 12000;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.87,0.14,0.27,1.05), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(90px);
}
.cookie-banner .cookie-text {
  flex: 8 1 400px;
  min-width: 175px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  border:none;
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(200,200,200,0.08);
  transition: background .18s, color .18s, transform .12s;
  margin-left: 2px;
}
.cookie-btn.accept {
  background: #25353D;
  color: #fff;
  font-weight: 600;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #E1C482;
  color: #232323;
}
.cookie-btn.reject {
  background: #fff;
  color: #25353D;
  font-weight: 500;
  border: 1.5px solid #25353D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #232323;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #E1C482;
  font-weight: 400;
  text-decoration: underline;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(15,15,15,0.57);
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #232323;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 36px 30px 26px 30px;
  min-width: 290px;
  max-width: 410px;
  z-index: 13001;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideDownFade .39s cubic-bezier(0.64,0.05,0.27,1.13);
}
@keyframes slideDownFade {
  from {opacity: 0; transform: translateY(-40px);}
  to {opacity: 1; transform: translateY(0);}
}
.cookie-modal h3 {
  margin-bottom: 10px;
  color: #25353D;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 1.04rem;
}
.cookie-toggle {
  width: 34px;
  height: 20px;
  background: #eee;
  border-radius: 30px;
  position: relative;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  transition: background .18s;
}
.cookie-toggle[aria-checked="true"] {
  background: #25353D;
}
.cookie-toggle:after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 3px;
  transition: left .17s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.cookie-toggle[aria-checked="true"]:after {
  left: 15px;
}
.cookie-modal .cookie-btn {
  margin-top: 0;
  margin-right: 4px;
}
.cookie-modal .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #25353D;
  font-size: 2rem;
  cursor: pointer;
  padding: 3px 8px;
  margin-left: 10px;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #111;
  outline: none;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 900px) {
  .header-bar {
    flex-direction: row;
    gap: 12px;
    padding: 13px 0;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .feature-grid,
  .tips-grid,
  .team-list,
  .testimonial-cards,
  .client-stories {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .region,
  .section,
  .hero, .cta {
    padding-left: 0;
    padding-right: 0;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card, .feature, .tips-grid>div, .team-member {
    min-width: unset;
    max-width: 100%;
  }
  .feature-grid, .client-stories, .testimonial-cards {
    flex-direction: column;
    gap: 18px;
  }
  .footer-main {
    padding-bottom: 18px;
  }
  .hero {
    padding: 22px 0 16px 0;
  }
  .cta {
    margin-bottom: 32px;
    padding: 24px 0 24px 0;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 12px 15px 13px;
    gap: 12px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-actions {
    gap: 6px;
  }
  .cookie-modal {
    padding: 21px 10px 12px 10px;
    min-width: 80vw;
    max-width: 97vw;
  }
}

/* =============================
   MICRO-INTERACTIONS & TRANSITIONS
   ============================= */
.section, .card, .feature, .testimonial-card, .btn-primary, .btn-link {
  transition: box-shadow .22s, transform .17s, background .18s, color .16s, border-color .18s;
}
.cta, .about-snippet, .cookie-banner, .cookie-modal {
  transition: box-shadow .2s, background .18s, opacity .18s;
}

/* =============================
   MONOCHROME COLOR SCHEME UTILITIES
   ============================= */
.bg-dark { background: #25353D; }
.bg-light { background: #F4F1ED; color: #25353D; }
.bg-white { background: #fff; color: #232323; }
.text-dark { color: #25353D; }
.text-light { color: #F4F1ED; }
.text-secondary { color: #E1C482; }
.text-muted { color: #757379; }

/* =============================
   UTILITY CLASSES FOR SPACING & FLEX
   ============================= */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

/* ================================
   FORM ELEMENTS & GENERIC
   ================================ */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 16px;
  border: 1.3px solid #dadada;
  border-radius: 8px;
  margin-bottom: 14px;
  width: 100%;
  background: #fff;
  color: #232323;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #25353D;
  outline: none;
}
label {
  display: block;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  color: #232323;
  margin-bottom: 7px;
}

/* =============================
   ICONS/IMG UTILITIES
   ============================= */
img[alt^="Icona "], .footer-contact img {
  filter: grayscale(1) contrast(0.85) brightness(1.06);
  opacity: 0.80;
}

/* =============================
   HIDE/SHOW FOR ACCESSIBILITY
   ============================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =============================
   CONSISTENT COLOR ACCESSIBILITY IN TESTIMONIALS
   ============================= */
.testimonial-card p, .testimonial-card .testimonial-footer {
  color: #1c1c1c;
}

/* =============================
   SPECIAL SECTION OVERLAYS (if any)
   ============================= */
.about-snippet {
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(220,215,200,0.067);
  padding: 36px 0;
  margin-bottom: 44px;
}
.services-overview {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(220,215,200,0.066);
  padding: 36px 0 38px 0;
  margin-bottom: 38px;
}

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