:root {
  --green: #85e607;
  --green-dark: #6db204;
  --text: #222;
  --footer: #5b635a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: 80px;
}

.main-nav {
  position: relative;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav li:first-child a {
  border: 2px solid var(--green);
  padding: 8px 18px;
  border-radius: 6px;
  color: var(--green);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green);
}

.main-nav li:first-child a:hover,
.main-nav li:first-child a[aria-current="page"] {
  background-color: var(--green);
  color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 10000;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 10px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  z-index: 1;
  opacity: 1;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-text {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: min(92%, 980px);
  padding: 20px 50px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.slide-text p {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  border: 0;
  border-radius: 5px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  font-size: 2.8rem;
  user-select: none;
}

.slider-btn:hover {
  background: rgba(104, 104, 104, 0.788);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.section {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
}

.page {
  flex: 1;
}

.eyebrow,
.note,
.page > .button {
  display: none;
}

h1 {
  margin-bottom: 40px;
  color: var(--green);
  font-size: 2.6rem;
  line-height: 1.2;
  text-align: center;
}

h2 {
  margin-bottom: 15px;
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1.2;
}

p {
  margin-bottom: 12px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 4px;
}

.intro-grid,
.media-row,
.contact-grid,
.footer-grid {
  display: grid;
}

.intro-grid {
  grid-template-columns: 320px minmax(0, 650px);
  align-items: center;
  gap: 40px;
  width: min(1000px, calc(100% - 40px));
  margin: 80px auto 0;
  padding: 0;
}

.intro-grid--reverse {
  grid-template-columns: minmax(0, 650px) 320px;
  margin-top: 80px;
  margin-bottom: 100px;
}

.intro-grid--reverse img {
  order: 2;
}

.intro-grid img {
  width: 320px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-grid img:hover,
.media-row img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.intro-grid > div {
  max-width: 650px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.intro-grid h1,
.intro-grid h2 {
  margin-bottom: 16px;
  color: #222;
  font-size: 2.4rem;
  text-align: left;
}

.intro-grid .button {
  display: none;
}

.content-card {
  margin-bottom: 40px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.media-row {
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.media-row img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-row div {
  font-size: 1.1rem;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 560px;
  margin-bottom: 60px;
  border-collapse: collapse;
}

.price-table caption {
  display: none;
}

.price-table th,
.price-table td {
  border: 2px solid var(--green);
  padding: 16px 24px;
  text-align: center;
  font-size: 1.2rem;
}

.price-table th {
  background-color: var(--green);
  color: #fff;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.contact-grid {
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.map-consent iframe {
  width: 100%;
  min-height: 300px;
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-card {
  max-width: 600px;
  margin: 0 auto 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

label {
  font-size: 1.1rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font: inherit;
  resize: vertical;
}

textarea {
  min-height: 120px;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 14px 20px;
  background-color: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--green-dark);
  color: #fff;
}

.hidden,
[hidden] {
  display: none !important;
}

.legal-page {
  max-width: 900px;
}

.legal-page .content-card {
  max-width: 700px;
  margin: 0 auto;
  color: #333;
  font-size: 1.1rem;
}

.site-footer {
  margin-top: auto;
  padding: 26px 20px 24px;
  background-color: var(--footer);
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 34px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
}

.site-footer p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  min-height: 20px;
  overflow-wrap: anywhere;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-right: 0;
  color: var(--green);
  fill: currentColor;
  vertical-align: -0.15em;
  flex: 0 0 18px;
}

.site-footer a {
  color: #ccc;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #fff;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: auto;
  min-width: 45px;
  border: 0;
  border-radius: 6px;
  padding: 10px 15px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner,
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
}

.cookie-panel {
  width: min(500px, 90%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 12px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.cookie-panel h2 {
  color: #222;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-secondary {
  background: #2196f3;
}

.cookie-secondary:hover {
  background: #1e88e5;
}

.cookie-muted {
  background: #e0e0e0;
  color: #333;
}

.cookie-muted:hover {
  background: #ccc;
  color: #333;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 12px 18px;
  }

  .logo img {
    height: 68px;
  }

  .main-nav ul {
    gap: 14px;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .main-nav li:first-child a {
    padding: 7px 14px;
  }
}

@media (max-width: 900px) {
  .intro-grid,
  .intro-grid--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 56px;
    text-align: center;
  }

  .intro-grid--reverse img {
    order: 0;
  }

  .intro-grid img,
  .media-row img {
    margin: 0 auto;
  }

  .intro-grid h1,
  .intro-grid h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .intro-grid > div {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-wrap: nowrap;
    padding: 8px 16px;
  }

  .logo img {
    height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    height: 4px;
    border-radius: 2px;
    background: var(--green);
  }

  .main-nav ul {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    width: min(82vw, 320px);
    height: 100vh;
    padding: 92px 24px 32px;
    gap: 22px;
    background-color: #515551;
    box-shadow: -3px 0 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .main-nav a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .media-row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 18px;
  }

  .media-row img {
    max-width: 100%;
  }

  .hero-slider {
    height: min(62vh, 430px);
    min-height: 320px;
    margin-top: 0;
  }

  .slider-btn {
    padding: 4px 12px;
    font-size: 2.2rem;
  }

  .slide-text {
    width: calc(100% - 70px);
    padding: 16px 22px;
  }

  .slide-text p {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .section {
    width: min(100% - 28px, 900px);
    padding: 32px 0;
  }

  h1 {
    margin-bottom: 28px;
    font-size: 2rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .content-card {
    margin-bottom: 32px;
  }

  .media-row {
    gap: 18px;
  }

  .contact-grid {
    gap: 24px;
  }

  .price-table {
    min-width: 0;
    margin-bottom: 40px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 10px;
    font-size: 1rem;
  }

  .button {
    width: 100%;
    padding: 13px 16px;
    font-size: 1.05rem;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 6px 12px;
  }

  .logo img {
    height: 50px;
  }

  .main-nav ul {
    width: 100vw;
    padding-top: 82px;
  }

  .hero-slider {
    height: 340px;
    min-height: 0;
  }

  .slide-text {
    width: calc(100% - 48px);
    padding: 12px 16px;
  }

  .slider-btn.prev {
    left: 6px;
  }

  .slider-btn.next {
    right: 6px;
  }

  .intro-grid {
    width: min(100% - 28px, 1000px);
    margin-top: 36px;
  }

  .intro-grid--reverse {
    margin-bottom: 44px;
  }

  .intro-grid img {
    width: min(100%, 320px);
  }

  .intro-grid > div,
  .media-row div,
  .legal-page .content-card {
    font-size: 1rem;
  }

  .intro-grid h1,
  .intro-grid h2 {
    font-size: 1.65rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  .price-table th,
  .price-table td {
    padding: 10px 6px;
    font-size: 0.9rem;
    word-break: break-word;
  }

  .site-footer {
    padding: 22px 14px;
  }

  .cookie-banner,
  .cookie-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .cookie-panel {
    width: 100%;
    max-height: 85vh;
    border-radius: 12px 12px 0 0;
    padding: 22px 16px;
  }
}
