/* Normalize & Reset */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3EFED;
  color: #273B5A;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #273B5A;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #D96C36;
  outline-offset: 2px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* Font faces */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273B5A;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p, li {
  font-size: 1rem;
  color: #273B5A;
}
p {
  margin-bottom: 16px;
}

strong {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Header/navbar */
header {
  background: #FFFFFF;
  border-bottom: 1px solid #e6e2df;
  box-shadow: 0 2px 10px rgba(39, 59, 90, 0.03);
  position: relative;
  z-index: 30;
}
.header-flex {
  display: flex;
  align-items: center;
  height: 76px;
  justify-content: space-between;
  gap: 20px;
}
.logo img {
  height: 46px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #273B5A;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F3EFED;
  color: #D96C36;
}
.cta-button {
  background: #D96C36;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(217,108,54,0.06);
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
  margin-left: 16px;
  border: none;
}
.cta-button:hover,
.cta-button:focus {
  background: #B04C17;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(217, 108, 54, 0.13);
}

.mobile-menu-toggle {
  display: none;
  background: #F3EFED;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #273B5A;
  margin-left: 8px;
  border: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #D96C36;
  color: #fff;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,59,90,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.62,.1,.55,1);
  z-index: 1000;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 28px 0 0;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #D96C36;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 46px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 13px 0;
  border-radius: 5px;
  width: 100%;
  display: block;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #D96C36;
  color: #fff;
}

/* --- Sections Patterned Spacing --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 900px) {
  section {
    padding: 32px 4vw;
  }
}

/* Home & shared grids */
.feature-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 0 0;
  justify-content: flex-start;
  width: 100%;
}
.feature-grid > div, .tips-grid > div {
  background: #fff;
  border-radius: 18px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 350px;
  box-shadow: 0 2px 14px rgba(39,59,90,0.06);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  border: 1px solid #ECECEC;
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-grid > div:hover,
.tips-grid > div:hover {
  box-shadow: 0 6px 28px rgba(39,59,90,0.13);
  transform: translateY(-2px) scale(1.018);
}
.feature-grid img,
.tips-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(39,59,90,0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 580px;
  box-shadow: 0 4px 16px rgba(39,59,90,0.09);
  border: 1px solid #ececec;
  transition: box-shadow 0.19s;
}
.testimonial-card p {
  color: #273B5A;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #B04C17;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 9px 24px rgba(39,59,90,0.23);
}

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

.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  width: 100%;
}
.team-profiles .text-section {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(39,59,90,0.07);
  min-width: 220px;
  max-width: 360px;
  padding: 24px 18px;
  margin-bottom: 20px;
}

.text-section {
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 14px;
}

/* Service, projects, FAQ, benefits lists */
.service-list, .projects-list, .workshop-list, .benefits-list, .feature-itineraries, .usp-bullets, .contact-list, .feature-articles-list {
  list-style: none;
  margin: 16px 0 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list li, .projects-list li, .workshop-list li, .benefits-list li, .feature-itineraries li, .usp-bullets li, .contact-list li, .feature-articles-list li {
  padding: 14px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 9px rgba(39,59,90,0.06);
  border: 1px solid #f1f1f1;
  color: #273B5A;
  font-size: 1rem;
  word-break: break-word;
}
.service-list span, .projects-list span, .workshop-list span {
  color: #B04C17;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.feature-articles-list a {
  color: #273B5A;
  border-bottom: 1.5px solid #D96C36;
  transition: color 0.18s;
  font-weight: 500;
  padding-bottom: 2px;
}
.feature-articles-list a:hover,
.feature-articles-list a:focus {
  color: #B04C17;
}

.quick-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 1.06rem;
  margin-top: 10px;
}
.quick-links a {
  color: #273B5A;
  font-weight: 500;
  transition: color 0.16s;
}
.quick-links a:hover,
.quick-links a:focus {
  color: #D96C36;
}

.newsletter-signup {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 9px rgba(39,59,90,0.07);
  padding: 22px 18px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  max-width: 440px;
}
.map-location {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 11px rgba(39,59,90,0.09);
  padding: 20px 18px 16px 18px;
  margin-bottom: 20px;
}

/* Legal Section */
.legal-section {
  background: #fff;
  border-radius: 14px;
  padding: 34px 20px 20px 20px;
  box-shadow: 0 1px 8px rgba(39,59,90,0.04);
  font-size: 1rem;
  color: #273B5A;
  word-break: break-word;
}
.legal-section ul {
  margin-top: 10px;
  margin-bottom: 16px;
  padding-left: 20px;
  list-style: disc inside;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #E6E2DF;
  box-shadow: 0 -2px 14px rgba(39,59,90,0.05);
  margin-top: 32px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 0 20px 0;
}
.footer-logo img {
  width: 54px;
  margin-bottom: 8px;
}
.footer-contact {
  min-width: 200px;
}
.footer-contact h4 {
  font-size: 1.13rem;
  color: #B04C17;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #273B5A;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 17px;
  height: 17px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.98rem;
  color: #A0A5AC;
  margin: 17px 0 0 0;
}
.footer-menu a {
  color: #273B5A;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #D96C36;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.footer-social h4 {
  color: #273B5A;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}
.footer-social a {
  margin-right: 8px;
  display: inline-block;
}
.footer-social img {
  width: 30px;
  height: 30px;
  transition: box-shadow 0.16s;
  border-radius: 7px;
}
.footer-social img:hover {
  box-shadow: 0 2px 8px rgba(217,108,54,0.16);
}
.footer-bottom {
  border-top: 1px solid #E6E2DF;
  padding: 14px 0 0 0;
  text-align: center;
  font-size: 0.94rem;
  color: #a1a1a1;
}

/* Cookie Consent Banner */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #273B5A;
  border-top: 1.5px solid #ECECEC;
  box-shadow: 0 -3px 18px rgba(39,59,90,0.11);
  z-index: 2100;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 18px 14px 18px;
  animation: slideup 0.7s 0.15s both;
}
@keyframes slideup {
  0% { transform: translateY(100%); opacity:0; }
  90% { opacity:1; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  margin: 0 0 8px 0;
  font-size: 1rem;
  color: #273B5A;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 19px;
  padding: 9px 22px;
  font-size: 1rem;
  background: #F3EFED;
  color: #273B5A;
  border: 1.3px solid #D96C36;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button.accept {
  background: #D96C36;
  color: #fff;
  border: 1.3px solid #D96C36;
}
.cookie-banner button.accept:focus, .cookie-banner button.accept:hover {
  background: #B04C17;
  color: #fff;
}
.cookie-banner button.settings {
  background: #F3EFED;
  color: #D96C36;
  border: 1.3px solid #D96C36;
}
.cookie-banner button.settings:focus, .cookie-banner button.settings:hover {
  background: #fff7ed;
  color: #B04C17;
}
.cookie-banner button.reject {
  background: #fff;
  color: #273B5A;
  border: 1.3px solid #bfbdbd;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #edeae7;
  color: #D96C36;
}

/* COOKIE MODAL */
#cookie-modal, .cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,38,47,0.43);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadein 0.3s linear;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 6px 40px rgba(39,59,90,0.21);
  padding: 36px 32px 27px 32px;
  max-width: 95vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: popin 0.32s cubic-bezier(.55,.02,.28,.97);
}
@keyframes popin {
  0% { transform: scale(0.92); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal-content h3 {
  margin: 0 0 9px 0;
  font-size: 1.3rem;
  color: #273B5A;
}
.cookie-modal-content .modal-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.cookie-modal-content .toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F3EFED;
  border-radius: 11px;
  border: 1.2px solid #D96C36;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.15s;
}
.cookie-modal-content .toggle:checked {
  background: #D96C36;
}
.cookie-modal-content .toggle::after {
  content: '';
  position: absolute;
  top: 2.2px; left: 2.2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1.5px 5px rgba(178,112,86,0.12);
  transition: left 0.19s;
}
.cookie-modal-content .toggle:checked::after {
  left: 17.5px;
}
.cookie-modal-content .always-on {
  font-size: 0.97rem;
  color: #AAA;
  margin-left: 11px;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-content button {
  min-width: 80px;
  cursor: pointer;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-accordion .text-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(39,59,90,0.06);
  padding: 22px 16px;
}
.faq-accordion h3 {
  font-size: 1.04rem;
  margin-bottom: 7px;
}
.faq-accordion p {
  font-size: 0.98rem;
  color: #273B5A;
}

/* Buttons (shared) */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 12px 26px;
  background: #D96C36;
  color: #fff;
  border: none;
  transition: background 0.20s, color 0.15s, box-shadow 0.19s;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
  background: #B04C17;
  color: #fff;
  box-shadow: 0 3px 14px rgba(217,108,54,0.13);
}

/* Forms */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.2px solid #ECECEC;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #273B5A;
  margin-bottom: 12px;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #D96C36;
  outline: none;
}

/* Responsive - Mobile First */
@media (max-width: 1100px) {
  .footer-columns {
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .tips-grid > div, .team-profiles .text-section {
    min-width: calc(50% - 18px);
    max-width: 100%;
  }
  .footer-columns {
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.12rem;
  }
  h2 {
    font-size: 1.41rem;
  }
  .header-flex {
    flex-wrap: wrap;
    height: auto;
    gap: 12px;
    padding: 14px 0;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  section {
    padding: 26px 4vw;
    margin-bottom: 38px;
  }
  .feature-grid, .tips-grid, .team-profiles, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .tips-grid > div, .team-profiles .text-section {
    min-width: 100%;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 0 10px 0;
  }
  .footer-social {
    flex-direction: row;
    gap: 8px;
    margin-top: 10px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 550px) {
  .container {
    padding: 0 4vw;
  }
  .footer-contact li {
    font-size: 0.95rem;
  }
  .footer-bottom {
    font-size: 0.89rem;
  }
}

/* Util Classes */
.mt-20 { margin-top: 20px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.rounded {
  border-radius: 15px;
}
.shadow-light {
  box-shadow: 0 3.5px 20px rgba(39,59,90,0.07);
}

/* Micro Interactions (transitions) */
.cta-button, .card, .feature-grid > div, .tips-grid > div, .team-profiles .text-section, .testimonial-card, .feature-articles-list a {
  transition: box-shadow 0.19s, transform 0.18s, background 0.18s, color 0.14s;
}

/* Hide stuff by default */
.mobile-menu {
  visibility: hidden;
}
.mobile-menu.open {
  visibility: visible;
}
/* Helper: if JS handles the display property use only transform/transitions here */


/* --- Accessibility Focus Ring --- */
:focus-visible {
  outline: 2px solid #D96C36;
  outline-offset: 2px;
}

/* Subtle Section Backgrounds for White Space Rhythm */
section:nth-child(even) {
  background: #FFFFFF;
}
section:nth-child(odd) {
  background: #F3EFED;
}

/* END Luce Creativa Bologna SCANDINAVIAN CLEAN CSS */