/*-------------------
  Viva Serenidade - Scandinavian Clean CSS
  Author: CSS Senior Developer
  Responsive, Flexbox-based, modern, accessible
--------------------*/

/* RESET & BASELINE NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFFFFF;
  color: #124B51;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.02em;
  font-weight: 400;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

ul, ol {
  padding-left: 1.4em;
  margin-top: 0.5em;
}
li + li { margin-top: 0.5em; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #124B51;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }

p {
  font-size: 1.06rem;
  margin-bottom: 1em;
  color: #235e62;
  font-family: 'Open Sans', Arial, sans-serif;
}

strong, b {
  font-weight: 700;
}

blockquote {
  background: #EFEFEF;
  border-left: 4px solid #FFD260;
  color: #124B51;
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 10px 0;
  padding: 1.1em 1.2em 1.1em 1.4em;
}

/* LINK STYLES */
a {
  color: #124B51;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C8E96;
  text-decoration: underline;
}

/* BUTTONS */
.btn-primary {
  background: #124B51;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  border: none;
  border-radius: 26px;
  padding: 12px 32px;
  margin-top: 10px;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44,66,66,0.06);
  transition: background 0.25s, box-shadow 0.25s, transform 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1C8E96;
  color: #fff;
  box-shadow: 0 8px 18px rgba(44,66,66,0.11);
  transform: translateY(-2px) scale(1.03);
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 0px;
}

.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 10px rgba(18,75,81,0.09);
  padding: 34px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(18,75,81,0.16);
  transform: translateY(-4px) scale(1.01);
}

.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: 24px 28px;
  margin-bottom: 26px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(18,75,81,0.09);
  border: 1px solid #EFEFEF;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  font-size: 1.11rem;
  color: #235e62;
  padding-left: 0;
}
.testimonial-card p {
  color: #124B51;
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8FAFA;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(18,75,81,0.06);
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 240px;
  transition: box-shadow 0.21s, transform 0.14s;
}
.feature-item:hover {
  box-shadow: 0 4px 18px rgba(18,75,81,0.14);
  transform: scale(1.02);
}
.feature-item img {
  width: 52px;
  height: 52px;
  margin-bottom: 5px;
}
.feature-item h3 {
  font-size: 1.13rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.98rem;
  color: #265858;
  margin-bottom: 0;
}

/* HERO SECTIONS */
.hero {
  padding: 74px 0 58px 0;
  background: #EFEFEF;
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  max-width: 710px;
}
.hero h1 {
  color: #124B51;
}

/* ABOUT, LEGAL & TEXTUAL SECTIONS */
.about-short, .about-section, .legal, .confirmation-next, .contact-details, .team-section, .testimonials-list, .services-list {
  margin-bottom: 60px;
}
.text-section {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-top: 4px;
}
.text-section li {
  color: #356261;
}

/* SERVICE GRID */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.service-item {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 8px rgba(18,75,81,0.10);
  padding: 28px 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.16s;
  position: relative;
}
.service-item img {
  width: 46px;
  height: 46px;
}
.service-item .price {
  color: #124B51;
  font-weight: bold;
  background: #FFD260;
  border-radius: 8px;
  padding: 2px 12px;
  align-self: flex-start;
  margin-top: 8px;
  font-size: 1.02rem;
}
.service-item:hover {
  box-shadow: 0 4px 20px rgba(44,66,66,0.13);
  transform: scale(1.02);
}

/* TEAM MEMBER CARDS */
.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.team-member {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(18,75,81,0.10);
  padding: 24px 20px;
  flex: 1 1 210px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.13s;
}
.team-member:hover {
  box-shadow: 0 4px 16px rgba(18,75,81,0.12);
  transform: scale(1.02);
}
.team-member h3 {
  margin-bottom: 2px;
  font-size: 1.1rem;
}

/* CALL-TO-ACTION SECTIONS */
.cta {
  margin-bottom: 0px !important;
  padding: 48px 0;
  background: #FFD260;
  position: relative;
}
.cta h2,
.cta p {
  color: #124B51;
}

/* FOOTER */
footer {
  background: #F8FAFA;
  padding: 38px 0 20px 0;
  border-top: 1px solid #E7ECEC;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #265858;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 3px 6px;
  border-radius: 4px;
  transition: background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #EFEFEF;
  color: #124B51;
}
footer small {
  color: #6A948D;
  font-size: 0.96rem;
  margin-top: 2px;
}

/* NAVIGATION - MAIN NAV & MOBILE MENU */
header {
  background: #fff;
  border-bottom: 1px solid #E7ECEC;
  position: sticky;
  top: 0;
  z-index: 1090;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo img {
  width: 38px;
  height: 38px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-size: 1.05rem;
  color: #265858;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.20s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EFEFEF;
  color: #124B51;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #124B51;
  cursor: pointer;
  padding: 0 10px;
  margin-left: 12px;
}
.mobile-menu {
  display: none;
}

/*---- MOBILE NAVIGATION ----*/
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 2100;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(18,75,81,0.93);
    z-index: 2000;
    transform: translateX(-100vw);
    transition: transform 0.36s cubic-bezier(0.87,0,0.13,1);
    box-shadow: 0 3px 20px rgba(0,0,0,0.09);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    align-self: flex-end;
    margin: 20px 28px 4px 0;
    cursor: pointer;
    z-index: 2010;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 38px 20px 38px;
    width: 100%;
  }
  .mobile-nav a {
    color: #fff;
    font-size: 1.18rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 8px 0;
    border-radius: 6px;
    transition: background 0.16s, color 0.16s;
    width: 100%;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #124B51;
    color: #FFD260;
  }
}

/* Hide CTA button on mobile menu if needed */
@media (max-width: 1023px) {
  header .btn-primary {
    display: none;
  }
}


/* RESPONSIVE FLEX SECTIONS & LAYOUTS */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero {
    padding: 50px 0 35px 0;
    margin-bottom: 38px;
  }
  .hero .content-wrapper h1 {
    font-size: 2rem;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 8px;
  }
  .feature-grid, .service-grid, .card-container, .team-member-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-item, .service-item, .team-member, .card {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .testimonial-card {
    padding: 20px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .container {
    padding: 0 4px;
    gap: 10px;
  }
  .cta {
    padding: 30px 0;
  }
}

/* Medium screens */
@media (max-width: 1200px) {
  .container {
    max-width: 99vw;
  }
}

/* MICROINTERACTIONS - SHADOWS, TRANSITIONS */
.card, .feature-item, .service-item, .team-member, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:active, .feature-item:active, .team-member:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(44,66,66,0.07);
}

/*-------------------
  COOKIE CONSENT BANNER & MODAL
--------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #fff;
  border-top: 1px solid #E7ECEC;
  box-shadow: 0 -2px 12px rgba(18,75,81,0.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px 22px 26px;
  font-size: 1.04rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #124B51;
  animation: slideUpBanner 0.9s cubic-bezier(.33,1.62,.6,.97);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-consent-banner button {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 7px 25px;
  background: #EFEFEF;
  color: #124B51;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.12s;
}
.cookie-consent-banner .accept {
  background: #124B51;
  color: #fff;
  font-weight: 600;
  margin-right: 6px;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
  background: #235e62;
  color: #FFD260;
}
.cookie-consent-banner .reject {
  background: #FFD260;
  color: #124B51;
  font-weight: 600;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
  background: #124B51;
  color: #FFD260;
}
.cookie-consent-banner .settings {
  background: #EFEFEF;
  color: #124B51;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
  background: #FFD260;
  color: #124B51;
}

/* Responsive banner */
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 5px 18px 14px;
    gap: 15px;
  }
  .cookie-consent-banner .cookie-actions {
    width: 100%;
    gap: 12px;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  background: rgba(18,75,81,0.56);
  width: 100vw;
  height: 100vh;
  z-index: 4050;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.34s linear;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(18,75,81,0.14);
  padding: 34px 24px 28px 24px;
  min-width: 320px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: popInModal 0.32s cubic-bezier(.35,1.32,.54,1.12);
}
@keyframes popInModal {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  color: #124B51;
}
.cookie-modal label {
  font-size: 1.03rem;
  margin-left: 4px;
  color: #124B51;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 38px;
  height: 21px;
  display: inline-block;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  height: 21px; width: 38px;
  background: #EFEFEF;
  border-radius: 21px;
  transition: background 0.22s;
  box-shadow: 0 1px 4px rgba(18,75,81,0.06);
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: #124B51;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 3.5px; top: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.22s;
  box-shadow: 0 1px 4px rgba(18,75,81,0.13);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  left: 19px;
  background: #FFD260;
}
.cookie-modal .btn-group {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal .btn-group button {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  padding: 7px 25px;
  cursor: pointer;
  font-weight: 600;
}
.cookie-modal .btn-group .save {
  background: #124B51;
  color: #fff;
}
.cookie-modal .btn-group .save:hover, .cookie-modal .btn-group .save:focus {
  background: #235e62;
}
.cookie-modal .btn-group .cancel {
  background: #EFEFEF;
  color: #124B51;
}
.cookie-modal .btn-group .cancel:hover, .cookie-modal .btn-group .cancel:focus {
  background: #FFD260;
  color: #124B51;
}
@media (max-width: 450px) {
  .cookie-modal .modal-content {
    padding: 18px 6px 18px 6px;
    min-width: 0;
  }
}

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

/* Utility - visually hidden (for labels/toggles where needed) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  border: 0; white-space: nowrap;
}

/*-------------------
  SCANDINAVIAN DETAILS & FINAL TOUCHES
--------------------*/

/* Subtle card shadow for depth, not harsh ("natural materials") */
.card, .feature-item, .service-item, .team-member, .testimonial-card {
  box-shadow: 0 2px 8px rgba(30,60,75,0.06);
  background: #fff;
  border: 1px solid #EFEFEF;
}

/* Soft shadow on cta section for focus */
.cta {
  box-shadow: 0 4px 40px rgba(18,75,81,0.10);
  border-radius: 20px 20px 0 0;
}

/* Natural/earthy border color on testimonial cards */
.testimonial-card {
  border-left: 5px solid #FFD260;
}

/* FORMS (not requested directly, but for possible future) */
input, textarea, select, button {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #E7ECEC;
  outline: none;
  padding: 10px 13px;
  background: #F8FAFA;
  color: #124B51;
  box-sizing: border-box;
  margin-bottom: 15px;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD260;
  background: #fffde7;
}

/* Price labels accent color */
.price {
  color: #124B51;
  background-color: #FFD260;
  border-radius: 8px;
  padding: 2px 12px;
  font-size: 1.02rem;
}

/*-------------------
  END - Viva Serenidade CSS
--------------------*/
