@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
:root {
  --orange: #ff9620;
  --orange-2: #d47918;
  --orange-3: #f3942c;
  --peach: #eab67d;
  --navy-1: #10263c;
  --navy-2: #07334d;
  --blue-1: #3a6f8f;
  --blue-2: #2e6d95;
  --blue-3: #335069;
  --blue-4: #4f6b80;
  --blue-5: #33506a;
  --text-primary: #1a1a1a;
  --text-secondary: #727272;
  --caption: #506171;
  --gray-4: #d1d1d6;
  --gray-3: #c7c7cc;
  --bg-white: #ffffff;
  --bg-off: #fcfcfc;
  --bg-light: #f6f3ef;
  --bg-tan: #ece6dc;
  --bg-tan-2: #f2f0e5;
  --border-tan: #d9d3c6;
  --font-body: Montserrat, sans-serif;
  --font-display: Libre Baskerville, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: #f6f3ef;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 16px;
  padding: 16px 24px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.btn:hover::after {
  transform: rotate(30deg) translateX(100%);
}
.btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 10px rgba(255, 150, 32, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-orange {
  background: #ff9620;
  color: #1a1a1a;
}

.btn-hero {
  background: #d47918;
  color: #1a1a1a;
  padding: 16px 34px;
}
@media (max-width: 480px) {
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 16px;
  padding: 16px 24px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}
.btn-nav::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.btn-nav:hover::after {
  transform: rotate(30deg) translateX(100%);
}
.btn-nav:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 10px rgba(255, 150, 32, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-nav {
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 16px;
  color: #1a1a1a;
  background: #ff9620;
  text-decoration: none;
  opacity: 1 !important;
}
.btn-nav:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 150, 32, 0.4);
}
.btn-nav:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 12px rgba(255, 150, 32, 0.25);
}

.btn-feature {
  background: #f3942c;
  color: #1a1a1a;
  align-self: flex-start;
  margin-top: 8px;
  border-radius: 16px;
  padding: 14px 24px;
}

.btn-icon {
  width: 24px;
  height: 24px;
}

.btn-orange:hover,
.btn-hero:hover,
.btn-nav:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 10px 24px rgba(255, 150, 32, 0.35);
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 480px) {
  .badge {
    font-size: 12px;
    padding: 6px 14px;
  }
}

.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #c7c7cc;
  border-radius: 49px;
  padding: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 768px) {
  .tabs {
    padding: 6px;
    border-radius: 28px;
  }
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 8px 56px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  color: #3a6f8f;
  transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab:hover {
  color: #3a6f8f;
  transform: translateY(-1px);
}
.tab.active {
  background: #3a6f8f;
  color: #ffffff;
  border-radius: 24px;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .tab {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 20px;
  }
}

.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f3146;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  color: #ffffff;
  text-align: center;
}

.loader-logo-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 52px;
  height: auto;
  filter: brightness(0) invert(1);
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-spinner {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ff9620;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-text {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
}

.loader-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.testimonial-card,
.feature-card,
.living-card,
.research-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.living-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.15s;
}
body.page-loaded .navbar {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .navbar {
    position: relative;
  }
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-link:hover .logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo-img {
  height: 74px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 45px;
  flex-wrap: wrap;
}
.nav-links a:not(.btn-nav) {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.8px;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.nav-links a:not(.btn-nav):hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    background: #0f3146;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 0 0 16px 16px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    font-size: 16px;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 100;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 71% 56%, #588cac 0%, #467692 18%, #345f79 36%, #21485f 55%, #0f3146 73%, #032235 100%);
  color: #ffffff;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 26px 100px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 1024px) {
  .hero-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .hero-inner {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }
}

.hero-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 560px;
  padding-bottom: 60px;
}
.hero-copy > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
body.page-loaded .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .hero-copy {
    padding-bottom: 0;
    max-width: 100%;
  }
}

body.page-loaded .badge {
  transition-delay: 0.25s;
}
body.page-loaded .hero-title {
  transition-delay: 0.35s;
}
body.page-loaded .hero-desc {
  transition-delay: 0.45s;
}
body.page-loaded .hero-cta {
  transition-delay: 0.55s;
}
body.page-loaded .hero-divider {
  transition-delay: 0.65s;
}
body.page-loaded .hero-stats {
  transition-delay: 0.75s;
}

.hero-headline-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 34px;
    line-height: 1.15;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
}

.hero-title-sub {
  display: block;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .hero-title-sub {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .hero-title-sub {
    font-size: 22px;
  }
}

.hero-title-italic {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #eab67d;
  font-size: 36px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .hero-title-italic {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .hero-title-italic {
    font-size: 20px;
  }
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  max-width: 545px;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 768px) {
  .hero-desc {
    font-size: 16px;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.hero-cta-caption {
  font-weight: 500;
  font-size: 14px;
  color: #d1d1d6;
  padding-left: 4px;
}

.hero-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 574px;
}

.hero-stats {
  display: flex;
  gap: 24px;
}
@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
}
@media (max-width: 480px) {
  .stat {
    min-width: 100px;
  }
}

.stat-value {
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
}
@media (max-width: 480px) {
  .stat-value {
    font-size: 20px;
  }
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-photo {
  flex-shrink: 0;
  width: 510px;
  max-width: 44%;
  align-self: flex-end;
  margin-top: -30px;
  opacity: 0;
  transform: scale(0.95) translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.4s;
}
body.page-loaded .hero-photo {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.hero-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  display: block;
}
@media (max-width: 1024px) {
  .hero-photo {
    max-width: 100%;
    width: 420px;
    align-self: center;
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .hero-photo {
    width: 100%;
    max-width: 340px;
  }
}

.site-footer {
  width: 100%;
  padding: 60px 100px 32px;
  background: #4e829f;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .site-footer {
    padding: 48px 40px 24px;
  }
}
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px 24px;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
}
@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 240px;
}
@media (max-width: 768px) {
  .footer-brand {
    grid-column: 1/-1;
    max-width: 100%;
  }
}

.footer-logo-link {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo {
  width: 130px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
}

.footer-eco-badge {
  width: 76px;
  height: auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
  width: 100%;
}
.footer-col li {
  text-align: left;
  width: 100%;
}
.footer-col a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}
.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .footer-contact {
    grid-column: 1/-1;
  }
}
.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
}
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}
.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: #ffffff;
}

.footer-divider {
  max-width: 1240px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 40px auto 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
}

.footer-bottom-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.footer-bottom-left span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 768px) {
  .footer-bottom-left {
    flex-direction: column;
    gap: 8px;
  }
}

.footer-widget-badge {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.social-icon-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}
.social-icon-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Language Dropdown Selector */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.lang-dropdown-wrapper.open .lang-dropup-menu {
  display: flex;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #17344f;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lang-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.lang-pill img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

.lang-dropup-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  min-width: 140px;
  z-index: 1000;
  flex-direction: column;
  gap: 4px;
  animation: dropupFade 0.2s ease;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: #17344f;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease;
}
.lang-option:hover {
  background: #f0f4f8;
}
.lang-option.active {
  background: #e6eff7;
  font-weight: 600;
}

.lang-flag-svg {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
}

.municipalities {
  background: #fcfcfc;
  padding: 30px 115px;
  border-bottom: 1px solid #ebe7e0;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .municipalities {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .municipalities {
    padding: 24px 20px;
  }
}

.municipalities-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}
@media (max-width: 768px) {
  .municipalities-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.municipalities-label {
  color: #1a1a1a;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.municipality-tynset {
  color: #1a1a1a;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.municipalities-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 38px;
}
@media (max-width: 768px) {
  .municipalities-group {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
}

.municipality-item,
.municipality-link,
.municipality-more {
  color: #1a1a1a;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.section {
  padding: 80px 100px;
}
@media (max-width: 1024px) {
  .section {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 48px 20px;
  }
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  color: #506171;
}

.section-title {
  font-family: "Libre Baskerville", serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.25;
  color: #1a1a1a;
}
.section-title .accent {
  color: #3a6f8f;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }
}

.showcase {
  background: #f6f3ef;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.showcase-image {
  width: 100%;
  max-width: 1208px;
  border-radius: 32px;
  overflow: hidden;
}
.showcase-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.research {
  background: #ece6dc;
}

.research-inner {
  max-width: 1242px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.research-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .research-top {
    flex-direction: column;
    align-items: center;
  }
}

.research-card {
  position: relative;
  width: 653px;
  max-width: 100%;
  height: 375px;
  background: #323232;
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
  flex-shrink: 0;
}
.research-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.research-avatar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  z-index: 1;
}

.research-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 37px;
  height: 37px;
  z-index: 2;
}

.research-name {
  position: absolute;
  left: 29px;
  bottom: 56px;
  font-weight: 700;
  font-size: 20px;
  z-index: 1;
}

.research-role {
  position: absolute;
  left: 29px;
  bottom: 32px;
  font-size: 14px;
  z-index: 1;
}

.research-quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 438px;
  flex: 1;
}
.research-quote p {
  font-size: 20px;
  line-height: 1.5;
  color: #1a1a1a;
}
@media (max-width: 1024px) {
  .research-quote {
    max-width: 100%;
  }
}

.quote-icon {
  width: 42px;
  height: 40px;
}

.research-banner {
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 32px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #2b2b2b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature {
  background: #f6f3ef;
}

.feature-card {
  background: #ece6dc;
  border-radius: 24px;
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .feature-card {
    flex-direction: column;
    padding: 30px 20px;
  }
}

.device-card {
  flex-shrink: 0;
  width: 380px;
  max-width: 100%;
  height: 325px;
  background: #ffffff;
  border: 1px solid #d9d3c6;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .device-card {
    overflow: hidden;
    padding: 10px 0;
  }
}

.device-illustration {
  position: relative;
  width: 344px;
  height: 258px;
  margin: 20px auto 0;
}
.device-illustration > * {
  position: absolute;
}
@media (max-width: 768px) {
  .device-illustration {
    transform: scale(0.85);
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .device-illustration {
    transform: scale(0.72);
    margin-left: -45px;
  }
}

.device-body {
  background: #d7d2c7;
  width: 150px;
  height: 58px;
  left: 95px;
  top: 40px;
  border-radius: 29px;
}

.device-lens-bezel {
  left: 187px;
  top: 40px;
  width: 58px;
  height: 58px;
}

.device-lens-housing {
  left: 192px;
  top: 45px;
  width: 48px;
  height: 48px;
}

.device-lens-glass {
  left: 199px;
  top: 52px;
  width: 34px;
  height: 34px;
}

.device-lens-glint {
  left: 203.5px;
  top: 56.5px;
  width: 7px;
  height: 7px;
}

.device-mount-connector {
  background: #dfdbd1;
  width: 10px;
  height: 24px;
  left: 165px;
  top: 98px;
  border-radius: 2px;
}

.device-bracket-tab {
  background: #dfdbd1;
  width: 32px;
  height: 20px;
  left: 154px;
  top: 106px;
  border-radius: 6px;
}

.device-screw {
  left: 166px;
  top: 112px;
  width: 8px;
  height: 8px;
}

.device-audio-body {
  background: #bebeb9;
  width: 132px;
  height: 132px;
  left: 104px;
  top: 122px;
  border-radius: 24px;
}

.device-mount-clip-left,
.device-mount-clip-right {
  background: #f2f0e5;
  width: 10px;
  height: 20px;
  top: 178px;
  border-radius: 2px;
}

.device-mount-clip-left {
  left: 96px;
}

.device-mount-clip-right {
  left: 234px;
}

.device-grille-base {
  left: 140px;
  top: 158px;
  width: 60px;
  height: 60px;
}

.device-callout-line {
  background: #33506a;
  height: 2px;
}
.device-callout-line.optics {
  left: 245px;
  top: 68px;
  width: 13px;
}
.device-callout-line.audio {
  left: 83px;
  top: 187px;
  width: 13px;
}

.device-callout-label {
  position: absolute;
  color: #33506a;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.device-callout-label.optics {
  left: 262px;
  top: 62px;
}
.device-callout-label.audio {
  left: 5px;
  top: 181px;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
  min-width: 280px;
}

.feature-eyebrow {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.28px;
  text-transform: uppercase;
  color: #4f6b80;
}

.feature-title {
  font-family: "Libre Baskerville", serif;
  font-weight: 600;
  font-size: 32px;
  color: #10263c;
}

.feature-tagline {
  font-weight: 700;
  font-size: 18px;
  color: #2e6d95;
}

.feature-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #335069;
}

.audience {
  background: #f6f3ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 100px;
  gap: 32px;
  width: 100%;
}
.audience .eyebrow {
  color: #727272;
}
@media (max-width: 1024px) {
  .audience {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .audience {
    padding: 48px 20px;
    gap: 24px;
  }
}

.living-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

@keyframes tabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.living-card {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 40px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.living-card.tab-panel {
  display: none;
}
.living-card.tab-panel.active {
  display: flex;
  animation: tabFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@media (max-width: 768px) {
  .living-card {
    flex-direction: column;
  }
}

.living-image {
  flex-shrink: 0;
  width: 573px;
  max-width: 48%;
  min-height: 430px;
  overflow: hidden;
}
.living-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}
@media (max-width: 768px) {
  .living-image img {
    border-bottom-left-radius: 0;
    border-top-right-radius: 40px;
  }
}
@media (max-width: 768px) {
  .living-image {
    width: 100%;
    max-width: 100%;
    min-height: 260px;
  }
}

.living-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 40px;
  flex: 1;
  min-width: 280px;
  justify-content: center;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .living-copy {
    padding: 32px 24px;
  }
}

.living-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}
.living-title.living-title-hero {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1a1a1a;
}
@media (max-width: 768px) {
  .living-title {
    font-size: 24px;
  }
  .living-title.living-title-hero {
    font-size: 28px;
  }
}

.living-desc {
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
}
@media (max-width: 768px) {
  .living-desc {
    font-size: 15px;
  }
}

.living-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 20px;
  color: #d47918;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}
.living-link img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}
.living-link:hover {
  color: rgb(90.6999002991%, 55.4370222665%, 17.8491193087%);
}
.living-link:hover img {
  transform: translateX(4px);
}

.testimonials {
  background: #f6f3ef;
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 1024px) {
  .testimonials {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  .testimonials {
    padding: 48px 20px;
  }
}

.testimonials-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.testimonials-head .eyebrow {
  color: #727272;
  text-align: left;
}
.testimonials-head .section-title {
  text-align: left;
}

.testimonials-head-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonials-intro {
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  color: #1a1a1a;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  color: #1a1a1a;
}
.testimonial-quote .quote-glyph {
  font-weight: 700;
  color: #ff9620;
  font-size: 16px;
}

.testimonial-divider {
  border: none;
  border-top: 1px solid #ece7e1;
  width: 100%;
}

.testimonial-person {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: #bacad4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 13px;
  color: #07334d;
}

.testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
}

.testimonial-org {
  font-size: 13px;
  color: #727272;
  margin-top: 2px;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderPulse {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}
@keyframes dropupFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.how-item-green .how-icon {
  animation: pulseDot 2.5s infinite;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.reveal-left {
  transform: translateX(-40px);
}
.reveal-on-scroll.reveal-right {
  transform: translateX(40px);
}
.reveal-on-scroll.reveal-scale {
  transform: scale(0.94);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/*# sourceMappingURL=styles.css.map */
