/* 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #F4F4F4;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #264653;
  background: #F4F4F4;
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 12px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
  line-height: 1.6;
}
a {
  color: #2698C7;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #E76F51;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #264653;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 2px 4px 0px #E9C46A22;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E76F51;
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 500;
  line-height:1.3;
}
p {
  margin-bottom: 16px;
  color: #264653;
}
strong {
  color: #E76F51;
  font-weight: bold;
}

/* BRAND COLORS */
:root {
  --primary: #264653;
  --secondary: #E9C46A;
  --accent: #F4F4F4;
  --brand-orange: #E76F51;
  --brand-light-blue: #2698C7;
  --brand-green: #2A9D8F;
  --white: #fff;
  --black: #222;
}

/* CONTAINER SYSTEM */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* SECTIONS & SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}
.content-wrapper {
  background: var(--white);
  border-radius: 30px 80px 30px 30px;
  padding: 32px 28px 32px 28px;
  box-shadow: 0 6px 32px 0 #26465318;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(103deg, #E9C46A 0%, #F4F4F4 100%);
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 0;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero h1 {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  margin-bottom: 16px;
  text-shadow: 2px 4px 0px #E76F511A;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 3px 16px 0 #26465310;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0 0;
  min-height: 70px;
}
.logo {
  margin-right: 18px;
  display: flex;
  align-items: center;
}
header img {
  height: 46px;
  width: auto;
  border-radius: 12px;
}
.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0 10px 0;
  font-size: 1.05rem;
  position: relative;
  transition: color 0.15s;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--brand-orange);
  background: #e9c46a30;
}
.cta-button {
  padding: 11px 28px;
  background: var(--brand-orange);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  box-shadow: 0 5px 12px 0 #E76F5119;
  border: none;
  outline: none;
  margin-left: 16px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.22s;
  cursor: pointer;
  text-align:center;
}
.cta-button:hover, .cta-button:focus {
  background: #FF9C77;
  color: var(--primary);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 7px 22px 0 #E76F5140;
}
.cta-secondary {
  padding: 8px 22px;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 18px;
  border: none;
  transition: background .17s, color .17s, transform .15s;
  box-shadow: 0 5px 14px 0 #e9c46a45;
  text-align: center;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #f4a261;
  color: var(--white);
  transform: scale(1.055) rotate(-1deg);
  box-shadow: 0 4px 20px 0 #e76f5130;
}

.mobile-menu-toggle {
  background: var(--brand-orange);
  color: var(--white);
  font-size: 2rem;
  border: none;
  border-radius: 16px;
  padding: 4px 16px 4px 14px;
  margin-left: 20px;
  cursor: pointer;
  display: none;
  z-index: 100;
  transition: background .17s, transform .17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #264653;
  color: #E9C46A;
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  header {
    padding-left: 5px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding: 0 8px;
    min-height: 56px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #264653f5;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(0.77,0.2,0.05,1.00);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--secondary);
  background: transparent;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  z-index: 3000;
  transition: color 0.15s, transform .12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
  transform: scale(1.13);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 50px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  border-radius: 18px;
  padding: 10px 17px;
  transition: background .17s, color .17s;
  margin-right: 0;
  margin-bottom: 0;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #264653;
  box-shadow: 2px 3px 8px 0 #e9c46a22;
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* FOOTER */
footer {
  background: #264653;
  color: #fff;
  padding: 36px 0 24px 0;
  margin-top: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #E9C46A;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .02em;
}
.footer-nav a:hover {
  color: #FFF;
  text-decoration: underline;
}
.brand-foot {
  text-align: center;
  font-size: 1rem;
  color: #E9C46A;
  margin-top: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
}


/* FLEXBOX LAYOUTS */
.card-container, .card-grid, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}
.card, .feature-item, .card-content {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .feature-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 32px;
  background: #fffbe7;
  border: 2px dashed #E9C46A;
  border-radius: 28px 22px 34px 14px;
  box-shadow: 0 3px 14px 0 #E9C46A26;
  margin-bottom: 20px;
  font-size: 1.12rem;
  color: #222;
  transition: box-shadow 0.18s;
  position: relative;
  min-width: 0;
  flex: 1 1 310px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #26465322;
  border-color: #E76F51;
}
.testimonial-details {
  font-size: 1rem;
  color: #E76F51;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 18px;
}

/* FEATURE GRID */
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature-icon {
  min-width: 68px;
  max-width: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9c46a30;
  padding: 12px 10px;
  border-radius: 22px 22px 36px 10px;
  box-shadow: 0 3px 14px 0 #E9C46A14;
}
.feature-icon img {
  width: 46px;
  height: auto;
}
.feature-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 220px;
  max-width: 340px;
  margin-right: 24px;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px 18px;
  }
  .feature-description {
    min-width: 0;
    max-width: 100%;
    margin-right: 0;
  }
  .feature-icon {
    min-width: 48px;
    max-width: 58px;
    padding: 7px 8px;
  }
}

/* VALUES ICONS (ABOUT) */
.values-icons {
  display: flex;
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.values-icons img {
  width: 54px;
  border-radius: 18px;
  background: #e9c46a20;
  box-shadow: 0 2px 8px 0 #E76F5111;
  padding: 6px;
  transition: transform .18s;
}
.values-icons img:hover {
  transform: scale(1.11) rotate(-4deg);
}

/* SECTION SPACING & CARDS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 44px;
    padding: 30px 8px;
  }
  .content-wrapper {
    padding: 20px 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 16px 0 #26465315;
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.21s;
  flex: 1 1 301px;
}
.card:hover {
  transform: translateY(-4px) scale(1.03) rotate(-2deg);
  box-shadow: 0 10px 38px 0 #E9C46A25, 0 2px 10px #26465317;
}

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

/* BUTTONS AND INTERACTIONS */
button, input[type="submit"], .cta-button, .cta-secondary {
  cursor: pointer;
  border: none;
}
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* CONTACT FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 8px;
}
label {
  font-weight: 600;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}
input[type="text"], input[type="email"], textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 18px;
  border: 2px solid #e9c46a80;
  margin-top: 6px;
  transition: border-color 0.16s, box-shadow 0.16s;
  background: #FFF;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #E76F51;
  box-shadow: 0 2px 12px #E76F5113;
}
textarea {
  resize: vertical;
  min-height: 86px;
  max-height: 260px;
}

/* MAP SECTION / TEXT BLOCK */
.map-section .text-section {
  margin-bottom: 0;
}
.map-section .text-section a {
  color: #2A9D8F;
  font-weight: bold;
  border-bottom: 2px dashed #2A9D8F;
  border-radius: 0;
  padding: 2px 4px;
  transition: background 0.17s, color 0.14s;
}
.map-section .text-section a:hover {
  background: #2A9D8F;
  color: #fff;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 999999;
  background: #fffbe7;
  box-shadow: 0 -3px 18px 0 #26465318;
  border-top: 3px solid #E9C46A;
  padding: 18px 12px 18px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  animation: cookieIn .6s cubic-bezier(.74,.2,.53,1.05) 1;
}
@keyframes cookieIn {
  from { 
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button {
  padding: 8px 21px;
  margin: 0 4px 0 0;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  transition: background 0.16s, color 0.14s, transform 0.14s;
}
.cookie-banner .accept {
  background: #2A9D8F;
  color: #fff;
}
.cookie-banner .reject {
  background: #E76F51;
  color: #fff;
}
.cookie-banner .settings {
  background: #E9C46A;
  color: #264653;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(.95);
  transform: scale(1.04);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 20px 5px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  width:100vw; height:100vh;
  background: #264653e6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffbf2;
  border-radius: 26px;
  padding: 36px 32px;
  max-width: 390px;
  width: 96vw;
  box-shadow: 0 11px 36px 0 #E9C46A28, 0 3px 12px #26465318;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal .25s;
}
@keyframes fadeInModal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  color: #E76F51;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  background: #e9c46a71;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.cookie-modal .cookie-toggle:checked {
  background: #E76F51;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.24s;
  box-shadow: 0 2px 8px 0 #e9c46a28;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 23px;
}
.cookie-modal .cookie-toggle[disabled] {
  opacity: 0.7;
  filter: grayscale(70%);
  pointer-events: none;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .accept, .cookie-modal .reject {
  padding: 8px 18px;
  font-size: 1.05rem;
}

/* UTILITIES & MICRO-ANIMATION */
@media (hover: hover) {
  .cta-button, .cta-secondary, .main-nav a, .footer-nav a, button, label {
    transition: background 0.17s, color 0.15s, box-shadow 0.15s, border-color 0.14s, transform 0.13s;
  }
}

/* DYNAMIC ANIMATIONS (SUBTLE / DEGREE-RANDOM) */
.card, .testimonial-card, .feature-icon, .values-icons img {
  transition: transform .20s, box-shadow .21s, border-color .18s;
}
.card:hover, .testimonial-card:hover, .feature-icon:hover, .values-icons img:hover {
  transform: rotate(-2deg) scale(1.03);
}

/* RESPONSIVE DESIGN */
@media (max-width: 568px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.3rem;}
  .hero h1 {font-size: 2.1rem;}
  .content-wrapper {padding:12px 3px 12px 3px; }
  .feature-description, .testimonial-card {font-size: 1rem;}
  .feature-icon { max-width:44px; min-width: 40px;}
  .values-icons img { width:32px; }
}

/* PLAYFUL DECORATIVE ELEMENTS*/
section:before, section:after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
section:before {
  bottom: 16px;
  right: -30px;
  width: 90px;
  height: 30px;
  background: #e9c46a60;
  border-radius: 16px 44px 36px 12px;
  filter: blur(8px);
  opacity: .3;
}
section:after {
  top: 10px;
  left: -18px;
  width: 44px;
  height: 44px;
  background: #2a9d8f38;
  border-radius: 50%;
  filter: blur(3px);
  opacity: .23;
}
@media (max-width: 700px) {
  section:before, section:after { display: none; }
}

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

/* MISC */
::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

/* THANK YOU/BLOCK MESSAGES */
.confirmation .content-wrapper, .confirmation-section .content-wrapper {
  background: #e9c46a15;
  border: 2px solid #e9c46a60;
}

/* ERROR/INFO */
.error, .info {
  background: #fff3e0;
  color: #E76F51;
  border-radius: 22px;
  border: 2px solid #e9c46a87;
  padding: 18px;
  margin: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* PRINT COLOR FALLBACK (for cards) */
@media print {
  .content-wrapper, .card, .testimonial-card { background: #fff !important; box-shadow: none !important; }
}
