/* ====== CSS Reset & Normalize ====== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F2EAE2;
  color: #234D63;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #234D63;
  transition: color 0.2s;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #234D63;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, li, span {
  font-size: 1rem;
  color: #234D63;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ====== Brand Typography ====== */
body, .content-wrapper p, .content-wrapper li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.hero h1, .section h1, h2, h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.btn-primary, .btn, button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ====== Header & Navigation ====== */
header {
  background: #234D63;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1100;
  box-shadow: 0 2px 14px 0 rgba(35,77,99, 0.10);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav ul li a {
  color: #fff;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #7AA17A;
  color: #234D63;
}
nav > a > img {
  height: 40px;
  width: auto;
  margin-right: 24px;
}
.btn-primary {
  background: #7AA17A;
  color: #234D63;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 3px 18px 0 rgba(122,161,122,0.13);
  transition: background 0.18s, color 0.18s, transform 0.17s;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #234D63;
  color: #fff;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 6px 24px 0 rgba(35,77,99,0.20);
}

/* Hamburger for mobile nav */
.mobile-menu-toggle {
  display: none;
  background: #7AA17A;
  color: #234D63;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #234D63;
  color: #fff;
}
/* Hide nav on small screens */
@media (max-width: 980px) {
  nav ul, nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}


/* ====== Mobile Menu Overlay ====== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #234D63;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.25s cubic-bezier(0.45,0,0.55,1), transform 0.33s cubic-bezier(0.72,0,0.33,1.2);
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #7AA17A;
  color: #234D63;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 32px;
  right: 20px;
  transition: background 0.2s, color 0.17s;
  z-index: 2002;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2EAE2;
  color: #234D63;
}
.mobile-nav {
  margin-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat',Arial,sans-serif;
  color: #fff;
  padding: 12px 8px 12px 0;
  display: block;
  border-radius: 8px;
  font-weight: 700;
  min-width: 180px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7AA17A;
  color: #234D63;
}
/* Responsive touch targets */
@media (max-width: 600px) {
  .mobile-nav {
    padding-left: 22px;
    gap: 22px;
  }
  .mobile-menu-close {
    right: 14px;
    top: 22px;
  }
}

/* ====== Hero Section ====== */
.hero {
  background: #234D63;
  color: #fff;
  padding: 60px 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  color: #fff;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
}
.hero p {
  color: #F2EAE2;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.hero .btn-primary {
  margin-top: 22px;
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 0 44px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* ====== Section Spacing & Layout Patterns ====== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 34px;
    padding: 26px 8px;
  }
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(35,77,99,0.10);
  margin-bottom: 22px;
  margin-top: 0;
  min-width: 0;
  max-width: 760px;
  width: 100%;
  flex: 1 0 320px;
}
.testimonial-card p {
  color: #234D63;
  font-weight: 600;
  font-size: 1.05rem;
  flex: 1;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  color: #7AA17A;
  min-width: 120px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px 0 rgba(35,77,99,0.07);
  padding: 28px 22px 16px 22px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.21s;
  border: 2px solid #7AA17A22;
}
.features-grid > div:hover {
  box-shadow: 0 6px 26px 0 rgba(35,77,99,0.19);
  border-color: #7AA17A55;
}
.features-grid img {
  width: 44px; height: 44px;
}
.features-grid h3 {
  font-size: 1.12rem;
  color: #234D63;
  margin-bottom: 6px;
}
.features-grid p {
  color: #234D63;
  font-size: 0.98rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .features-grid {
    gap: 16px;
  }
  .features-grid > div {
    min-width: 170px;
    max-width: 94vw;
    padding: 18px 10px 16px 13px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .features-grid > div {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.text-section img {
  width: 22px; height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

.map-placeholder {
  margin-top: 18px;
  background: #7AA17A22;
  color: #234D63;
  padding: 18px;
  border-radius: 10px;
  font-weight: 700;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
}

/* Content card, used for home/servizi features, privacy/gdpr/cookie policy */
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(35,77,99,0.09);
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 {
  color: #234D63;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

/* ====== Buttons, Links, Microinteractions ====== */
.btn, a.btn-primary {
  background: #7AA17A;
  color: #234D63;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, transform 0.14s;
  display: inline-block;
  box-shadow: 0 2px 10px 0 rgba(122,161,122, 0.09);
}
.btn:hover, .btn-primary:hover, .btn:focus, .btn-primary:focus {
  background: #234D63;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(35,77,99,0.13);
}
a {
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #7AA17A;
}

/* Strong visual hierarchy for actions */
.text-section a.btn-primary {
  margin-top: 8px;
}

/* ====== Footer ====== */
footer {
  background: #234D63;
  color: #fff;
  padding: 24px 0 12px 0;
}
footer .container {
  align-items: center;
  justify-content: center;
}
footer .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 8px;
}
footer nav {
  font-size: 1rem;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-weight: 700;
  margin: 0 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #7AA17A;
}
footer p {
  color: #F2EAE2;
  font-size: 0.95rem;
  margin-top: 6px;
  text-align: center;
}

/* ====== Responsive Media Queries ====== */
@media (max-width: 700px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .container { padding: 0 7px; }
  .features-grid > div { padding: 13px 7px 10px 7px; }
}

/* ====== Cookie Consent Banner ====== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 24px;
  background: #234D63;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px 0 rgba(35,77,99,0.16);
  padding: 22px 26px;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.37s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-text {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  color: #fff;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 18px;
  border: none;
  padding: 8px 17px;
  margin: 0;
  cursor: pointer;
  background: #7AA17A;
  color: #234D63;
  box-shadow: 0 1px 7px 0 rgba(122,161,122, 0.13);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #234D63;
  box-shadow: 0 3px 12px 0 rgba(35,77,99,0.18);
}
.cookie-banner .settings-btn {
  background: #F2EAE2;
  color: #234D63;
  border: 2px solid #7AA17A;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #7AA17A;
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 15px 10px;
    left: 2px; right: 2px;
  }
  .cookie-banner .cookie-buttons {
    flex-wrap: wrap;
    gap: 9px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,77,99,0.42);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(.33,0,.29,1.3);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #234D63;
  border-radius: 16px;
  max-width: 410px;
  padding: 36px 28px 22px 28px;
  box-shadow: 0 7px 27px 0 rgba(35,77,99,0.18);
  font-family: 'Open Sans', Arial, Helvetica,sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 352px;
  transform: translateY(60px);
  transition: transform 0.31s cubic-bezier(.33,0,.4,1.1);
}
.cookie-modal-overlay.active .cookie-modal {
  transform: translateY(0);
}
.cookie-modal h2 {
  color: #234D63;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica,sans-serif;
  font-weight: 700;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, Helvetica,sans-serif;
  color: #234D63;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category input[type='checkbox'],
.cookie-category input[type='radio'] {
  accent-color: #7AA17A;
  width: 20px;
  height: 20px;
}
.cookie-category .always {
  color: #7AA17A;
  font-size: 0.98rem;
  font-weight: 700;
  margin-left: 7px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica,sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  background: #7AA17A;
  color: #234D63;
  border-radius: 16px;
  border: none;
  padding: 8px 19px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #234D63;
  color: #fff;
}
.cookie-modal .close-modal {
  background: #F2EAE2;
  color: #234D63;
  font-weight: 700;
  border: 2px solid #7AA17A;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #7AA17A;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 0;
    width: 94vw;
    max-width: 96vw;
    padding: 19px 7px 13px 7px;
  }
}

/* ====== Miscellaneous (Typography etc) ====== */
::-webkit-selection { background: #7AA17A; color: #234D63; }
::selection { background: #7AA17A; color: #234D63; }

hr {
  border: none;
  border-top: 2px solid #7AA17A;
  margin: 36px 0 28px 0;
}

/* Responsive font sizes for headings */
@media (min-width: 1000px) {
  h1 { font-size: 2.60rem; }
  h2 { font-size: 2rem; }
}

/* Headings spacing */
h1, h2 {
  margin-top: 0;
  margin-bottom: 18px;
}
h3 {
  margin-bottom: 10px;
}
li {
  margin-bottom: 8px;
}

/* Cards and content layout spacing */
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Contrast and Accessibility */
.testimonial-card {
  background: #fff;
  color: #234D63;
  border: 2px solid #7AA17A22;
}
.testimonial-card p, .testimonial-card span {
  color: #234D63;
}

/* Decorative geometric accent for card hover */
.card::before, .features-grid > div::before {
  content: "";
  display: block;
  position: absolute;
  top: -12px; left: -12px;
  width: 38px; height: 38px;
  background: #7AA17A;
  border-radius: 27% 73% 64% 36%/36% 45% 55% 64%;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}
.card:hover::before, .features-grid > div:hover::before {
  opacity: 0.18;
}

/* Responsive: flex direction for .text-image-section, navs */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 3px;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* Hide scrollbars for modal overlay (for better mobile experience) */
.cookie-modal-overlay {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Accessibility: focus ring */
:focus {
  outline: 2px solid #7AA17A;
  outline-offset: 2px;
}

/* Utility spacing for abutting sections */
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ==== End of Modern Bold CSS for AbbaR Baird Pesca ==== */
