/* ==================== CSS RESET & BASE ==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FBF9F6;
  color: #234C2D;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
}
a {
  color: #234C2D;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #A28049;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
strong {
  font-weight: 600;
}

/* ==================== CONTAINERS & LAYOUT ==================== */
.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;
  gap: 24px;
  align-items: flex-start;
}

/* Spacing & Section Patterns (from requirements) */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(35, 76, 45, 0.06);
  position: relative;
  padding: 32px 24px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(122,83,18,0.12);
  transform: translateY(-3px) scale(1.02);
}
.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: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(122,83,18,0.06);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 600px;
}
.testimonial-info {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234C2D;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid (for 3/4 icon features) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  row-gap: 36px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #FFFFFF88;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 16px;
  box-shadow: 0 1px 5px rgba(122,83,18,0.09);
  padding: 28px 22px 20px 22px;
  min-width: 245px;
  max-width: 340px;
  gap: 16px;
  transition: box-shadow 0.13s, transform 0.14s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 20px 0 rgba(35,76,45,0.12);
  transform: translateY(-2px) scale(1.018);
}
.feature-grid img, .feature-grid svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.feature-grid h3, .feature-grid span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #234C2D;
  font-size: 1.25rem;
  margin-bottom: 7px;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234C2D;
  line-height: 1.18;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.05rem;
}
p {
  font-size: 1rem;
  margin-bottom: 15px;
}
.text-section p {
  color: #234C2D;
}
.text-section ul, .text-section ol {
  margin-bottom: 18px;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #234C2D;
}

/* ==================== HEADER, NAVIGATION ==================== */
header {
  background: linear-gradient(135deg, #faf6eb 85%, #F3F6E7 100%);
  box-shadow: 0 1px 8px rgba(122,83,18,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 26px 20px 10px 20px;
}
.logo img {
  max-height: 54px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1px;
  font-size: 1rem;
  color: #234C2D;
  border-radius: 6px;
  padding: 5px 12px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #D6EED7;
  color: #A28049;
}
.cta-button.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #A9DABB;
  color: #234C2D;
  border: none;
  border-radius: 20px;
  padding: 12px 34px;
  font-size: 1.12rem;
  box-shadow: 0 2px 8px rgba(35,76,45,0.09);
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s, transform 0.12s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.3px;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #F0E4D7;
  color: #7A5312;
  box-shadow: 0 3px 18px rgba(122,83,18,0.09);
  transform: translateY(-1px) scale(1.025);
}
.cta-link {
  color: #7A5312;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  border-bottom: 2px dotted #A9DABB;
  transition: border-color 0.2s, color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  color: #234C2D;
  border-color: #A28049;
}

/* ==================== HERO ==================== */
.hero {
  padding: 56px 0 46px 0;
  background: linear-gradient(132deg, #E3F3ED 72%, #F3F6E7 110% );
  border-radius: 0 0 48px 48px;
  margin-bottom: 60px;
}
.hero h1 {
  color: #234C2D;
  font-size: 2.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.hero p {
  color: #234C2D;
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.hero .cta-button.primary {
  margin: 0;
}

/* ================ TABLE (TARIFE, ETC.) ================ */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 26px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 5px rgba(122,83,18,0.05);
  overflow: hidden;
}
th, td {
  padding: 18px 13px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #E4F2DE;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234C2D;
  font-size: 1.05rem;
  font-weight: 700;
}
td {
  background: #F9F6F2;
}
tr:nth-child(even) td {
  background: #F3F6E7;
}

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(82deg, #faf6eb 74%, #E3F3ED 180%);
  color: #234C2D;
  padding: 32px 0 16px 0;
  border-radius: 46px 46px 0 0;
  font-size: 1rem;
  box-shadow: 0 -2px 14px rgba(122,83,18,0.04);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
footer .footer-logo img {
  max-height: 50px;
  margin-bottom: 10px;
}
footer .footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-right: 22px;
}
footer .footer-nav a {
  color: #7A5312;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 1rem;
  transition: color 0.14s, background 0.12s;
}
footer .footer-nav a:hover {
  color: #234C2D;
  background: #E1EEDA;
}
footer .footer-contact {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.98rem;
  color: #234C2D;
  opacity: 0.95;
}

/* ==================== MOBILE NAVIGATION ==================== */
.mobile-menu-toggle {
  display: none;
  background: #A9DABB;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  color: #234C2D;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 22px;
  transition: background 0.17s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F0E4D7;
  color: #7A5312;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(118deg, #F3F6E7 65%, #E3F3ED 120%);
  z-index: 9999;
  box-shadow: -6px 0 24px 0 rgba(35,76,45,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: left 0.37s cubic-bezier(.82,.09,.51,1);
  padding: 0;
}
.mobile-menu.open {
  left: 0;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #234C2D;
  align-self: flex-end;
  margin: 28px 28px 0 0;
  cursor: pointer;
}
.mobile-nav {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  font-weight: 600;
  color: #234C2D;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.11s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E1EEDA;
  color: #A28049;
}

/* ==================== COOKIE CONSENT ==================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 -2px 32px rgba(122,83,18,0.10);
  border-radius: 24px 24px 0 0;
  padding: 25px 18px 23px 18px;
  z-index: 99999;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.3s;
}
.cookie-banner.active {
  display: flex;
  animation: fadein-bottom 0.4s;
}
@keyframes fadein-bottom {
  0%   { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  border-radius: 18px;
  border: none;
  background: #A9DABB;
  color: #234C2D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  cursor: pointer;
  margin-right: 5px;
  box-shadow: 0 1px 8px 0 rgba(122,83,18,0.05);
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #A9DABB;
  color: #234C2D;
}
.cookie-btn.reject {
  background: #E6BEBE;
  color: #234C2D;
}
.cookie-btn.settings {
  background: #F0E4D7;
  color: #7A5312;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #D6EED7;
  color: #7A5312;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,76,45,0.25);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  max-width: 430px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 8px 42px 0 rgba(35, 76, 45, 0.13);
  padding: 34px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadein-modal 0.3s;
  position: relative;
}
@keyframes fadein-modal {
  0% { transform: translateY(55px) scale(0.97); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  border: none;
  background: none;
  font-size: 1.3rem;
  color: #7A5312;
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #DCECDD;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  border: 1.5px solid #A9DABB;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-toggle:checked {
  background: #A9DABB;
  border-color: #A28049;
}
.cookie-toggle::before {
  content: "";
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFF;
  border: 1.5px solid #A9DABB;
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.17s, border-color 0.17s;
}
.cookie-toggle:checked::before {
  left: 17px;
  border-color: #A28049;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
  align-items: center;
  justify-content: flex-end;
}

/* ================== MICRO-ANIMATIONS ================== */
.card, .feature-grid > div, .cta-button, .cookie-btn {
  transition: box-shadow 0.16s, background 0.14s, color 0.13s, transform 0.15s;
}

/* ================== FORM/MESSAGES ===================== */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #A9DABB;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFFFFF;
  color: #234C2D;
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.16s;
}
input:focus, textarea:focus {
  border-color: #A28049;
}

/* ================== RESPONSIVE LAYOUT ================== */
@media (max-width: 1120px) {
  .container {
    max-width: 99vw;
  }
  .feature-grid > div {
    min-width: 190px;
    max-width: 99vw;
  }
}
@media (max-width: 975px) {
  .feature-grid {
    gap: 20px;
  }
  footer .container {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .feature-grid > div {
    min-width: 160px;
    padding: 16px 10px 15px 10px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    padding: 13px 12px 8px 12px;
  }
  .hero {
    padding: 40px 0 32px 0;
  }
  .main-nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 18px 13px 13px 13px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    margin-bottom: 11px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .cookie-modal {
    width: 98vw;
    padding: 24px 4vw 22px 4vw;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}
@media (max-width: 544px) {
  html { font-size: 14px; }
  .logo img {
    max-height: 38px;
  }
  .hero h1 {
    font-size: 1.34rem;
  }
  th, td {
    padding: 8px 6px;
    font-size: 0.96rem;
  }
  .footer-logo img {
    max-height: 36px;
  }
}
@media (max-width: 400px) {
  section, .section {
    padding: 20px 4px !important;
  }
  .hero {
    padding: 26px 0 14px 0;
  }
  .cookie-modal {
    padding: 15px 3vw 12px 3vw;
  }
}

/* ================== SOFT PASTEL COLOR THEME VARIATIONS ================== */
body,
section {
  background: #FBF9F6;
}
.hero,
.menu-hero {
  background: linear-gradient(132deg, #E3F3ED 77%, #FFF7F1 110% );
}
.feature-grid > div {
  background: #FCFEFD;
}
footer {
  background: linear-gradient(86deg, #faf6eb 82%, #E3F3ED 140%);
}

/* Add dreamy effect to some sections for variety */
section:not(.hero):nth-child(odd) {
  background: linear-gradient(103deg, #FAFAFB 80%, #E4F2DE 110%);
}
h1, h2, h3, h4 {
  text-shadow: 0 2px 8px #F3F6E77A;
}

/* ================== SCROLLBAR PASTEL ================== */
body::-webkit-scrollbar {
  width: 10px;
  background: #E3F3ED;
}
body::-webkit-scrollbar-thumb {
  background: #A9DABBCC;
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #A28049BB;
}

/* ================== Print Style Clean ================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, main { padding: 0 !important; margin: 0 !important; }
}
