@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/*
  Terepgondozas.hu common stylesheet
  One shared file for project-specific styles, shared components and page refinements.
*/

:root {
  color-scheme: only light;
  --color-primary: #012d1d;
  --color-primary-container: #1b4332;
  --color-primary-fixed: #c1ecd4;
  --color-primary-fixed-dim: #a5d0b9;
  --color-surface: #f9f9f8;
  --color-surface-container: #edeeed;
  --color-surface-container-low: #f3f4f3;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-high: #e7e8e7;
  --color-surface-container-highest: #e1e3e2;
  --color-on-surface: #191c1c;
  --color-on-surface-variant: #414844;
  --color-secondary: #695d40;
  --color-secondary-fixed: #f1e1bc;
  --color-safety-orange: #f4511e;
  --font-body: Inter, sans-serif;
  --font-heading: Montserrat, Inter, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-surface);
  color: var(--color-on-surface);
  font-family: var(--font-body);
}
img { content-visibility: auto; }
section { content-visibility: auto; contain-intrinsic-size: 1px 700px; }

.material-symbols-outlined {
  display: inline-block;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.page-skeleton {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  transition: opacity .25s ease, visibility .25s ease;
}
.page-skeleton div {
  border-radius: 12px;
  background: linear-gradient(90deg, #edeeed, #ffffff, #edeeed);
  background-size: 200% 100%;
  animation: skeleton 1.2s ease-in-out infinite;
}
.page-skeleton div:nth-child(1) { height: 72px; }
.page-skeleton div:nth-child(2) { height: 42vh; }
.page-skeleton div:nth-child(3) { height: 22vh; }
body.is-loaded .page-skeleton { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes skeleton { to { background-position: -200% 0; } }

/* Header */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--color-surface);
  color: var(--color-on-surface);
  font-family: var(--font-body);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--color-surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  isolation: isolate;
}
.site-header__nav {
  width: min(100% - 32px, 1200px);
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header__link,
.site-header__services-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  color: var(--color-on-surface-variant);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6rem;
  font-weight: 400;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease;
}
.site-header__link:hover,
.site-header__services-toggle:hover,
.site-header__link.is-active,
.site-header__services-toggle.is-active {
  color: var(--color-primary);
}
.site-header__link.is-active,
.site-header__services-toggle.is-active {
  border-bottom-color: var(--color-primary);
  font-weight: 700;
}
.site-header__chevron {
  font-size: 18px !important;
  line-height: 1;
}
.site-header__services {
  position: relative;
  min-width: max-content;
}
.site-header__submenu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  display: none;
  min-width: 250px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .14);
  transform: translateY(8px);
  transition: transform .18s ease;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .08);
}
.site-header__services:hover .site-header__submenu,
.site-header__services:focus-within .site-header__submenu {
  display: block;
  transform: translateY(0);
}
.site-header__submenu-link {
  display: block;
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--color-on-surface-variant);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.site-header__submenu-link:hover {
  background: var(--color-surface-container);
  color: var(--color-primary);
}
.site-header .site-header__cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border-radius: .5rem !important;
  padding: .5rem 1.5rem;
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  transition: background-color .15s ease, transform .15s ease;
}
.site-header .site-header__cta:hover { background: var(--color-primary-container); }
.site-header .site-header__cta:active { transform: scale(.98); }
.site-header__menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-surface-container-highest);
  border-radius: 8px;
  background: transparent;
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.site-header__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;
}
.site-header__mobile-menu {
  display: none;
  background: var(--color-surface);
  border-top: 1px solid var(--color-surface-container-highest);
}
.site-header__mobile-menu.is-hidden { display: none; }
.site-header__mobile-inner {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.site-header__mobile-link {
  color: var(--color-on-surface-variant);
  font-weight: 700;
  text-decoration: none;
}
.site-header__mobile-link:hover { color: var(--color-primary); }
.site-header__cta--mobile { width: 100%; }
@media (max-width: 767px) {
  .site-header__nav { height: 80px; }
  .site-header__menu,
  .site-header__cta--desktop { display: none !important; }
  .site-header__menu-button { display: flex; }
  .site-header__mobile-menu:not(.is-hidden) { display: block; }
}

/* Footer */
body > .site-footer,
body .site-footer,
.site-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 80px 0 !important;
  background: var(--color-primary) !important;
  background-image: none !important;
  color: #fff !important;
  border-top: 1px solid rgba(255, 255, 255, .10) !important;
  font-family: var(--font-body) !important;
}
.site-footer,
.site-footer * { box-sizing: border-box; }
.site-footer::before,
.site-footer::after { content: none !important; display: none !important; }
.site-footer :where(a, h1, h2, h3, h4, h5, h6, p, span, nav, div) { color: #fff !important; }
.site-footer__grid {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  background: transparent !important;
}
.site-footer__logo {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-decoration: none;
}
.site-footer__text {
  max-width: 320px;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  opacity: .8;
}
.site-footer__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}
.site-footer__nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav a,
.site-footer__contact-line a {
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  opacity: .8;
  transition: color .18s ease, opacity .18s ease;
}
.site-footer__nav a:hover,
.site-footer__contact-line a:hover { color: var(--color-secondary-fixed) !important; opacity: 1; }
.site-footer__contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  opacity: .8;
}
.site-footer__contact-line .material-symbols-outlined { font-size: 18px !important; line-height: 1; }
.site-footer__legal {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.site-footer__legal p { margin: 0; font-size: 14px; line-height: 20px; opacity: .6; }

/* Shared components */
.glass-nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(249, 249, 248, .85);
}
.glass-card {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.focus-ring:focus-visible {
  outline: 3px solid rgba(249, 115, 22, .75);
  outline-offset: 3px;
}
.contact-email,
a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.area-chip-list span {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--color-surface-container);
  color: var(--color-primary);
  font-weight: 700;
  padding: .55rem .9rem;
}
.safety-orange-btn {
  background-color: var(--color-safety-orange);
  color: #fff;
  transition: all .2s ease;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.safety-orange-btn:hover { background-color: #e64a19; transform: scale(1.02); }
.text-shadow-sm { text-shadow: 0 2px 4px rgba(0, 0, 0, .1); }
.service-card-hover:hover { transform: translateY(-8px); }
.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 48px;
  height: 1px;
  background-color: #c1c8c2;
}
.form-shadow { box-shadow: 0 10px 30px -5px rgba(1, 45, 29, .1); }
.custom-shadow { box-shadow: 0 10px 30px -5px rgba(1, 45, 29, .1); }
.bg-mesh {
  background-image:
    radial-gradient(at 0% 0%, rgba(1, 45, 29, .05) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(241, 225, 188, .2) 0, transparent 50%);
}

/* Before-after sliders */
.before-after-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  outline: none;
  background: #dce8d6;
}
.before-after-slider:focus-visible { box-shadow: 0 0 0 4px rgba(244, 81, 30, .35), 0 24px 60px rgba(1, 45, 29, .16); }
.before-after-slider .compare-before { z-index: 1; }
.before-after-slider .work-after,
.before-after-slider .after-image,
.work-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 0 0 50%);
  z-index: 2;
  will-change: clip-path;
  pointer-events: none;
}
.slider-handle,
.before-after-slider .slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 11;
  pointer-events: none;
}
.slider-handle::after,
.before-after-slider .slider-handle::after {
  content: '<>';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: #fff;
  color: var(--color-primary);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: -.08em;
  box-shadow: 0 10px 30px rgba(1, 45, 29, .22);
}
.before-after-slider.is-dragging .slider-handle::after { transform: translate(-50%, -50%) scale(1.06); }
.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
}
.before-after-handle,
.transformation-handle { cursor: ew-resize; }
.transformation-handle { transition: transform .2s; }
.transformation-handle:hover { transform: scale(1.1); }
.compare-label,
.before-label,
.after-label {
  position: absolute;
  z-index: 12;
  bottom: 1rem;
  border-radius: 999px;
  padding: .45rem .8rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.compare-label-before,
.before-label { left: 1rem; background: rgba(1, 45, 29, .84); }
.compare-label-after,
.after-label { right: 1rem; background: rgba(244, 81, 30, .92); }

/* Home */
.home-compare { isolation: isolate; background: #dce8d6; }
.home-compare .compare-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.home-compare .compare-before {
  background-image: linear-gradient(90deg, rgba(1,45,29,.12), rgba(1,45,29,.06)), url('/images/home-compare-beforeafter.png');
}
.home-compare .compare-after {
  background-image: linear-gradient(90deg, rgba(1,45,29,.08), rgba(1,45,29,.02)), url('/images/home-compare.png');
}

/* FAQ */
.faq-accordion[open] .material-symbols-outlined { transform: rotate(180deg); }
.faq-accordion .material-symbols-outlined { transition: transform .2s ease; }
details > summary::-webkit-details-marker { display: none; }

/* Legal page */
.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-surface-container-highest);
  padding-bottom: .5rem;
}
.legal-content h3 {
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 1.5rem;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.legal-content p,
.legal-content li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-on-surface-variant);
  margin-bottom: 1rem;
}
.legal-content ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-link {
  color: var(--color-on-surface-variant);
  transition: all .2s ease;
  padding-left: 1rem;
  border-left: 4px solid transparent;
}
.sidebar-link:hover { color: var(--color-primary); }
.sidebar-link.active {
  color: var(--color-primary);
  font-weight: 700;
  border-left-color: var(--color-primary);
  padding-left: .75rem;
}

/* Legacy decorative classes */
.hero-pattern {
  background:
    linear-gradient(90deg, rgba(18, 61, 43, .92), rgba(18, 61, 43, .70) 48%, rgba(18, 61, 43, .28)),
    radial-gradient(circle at 78% 18%, rgba(249, 115, 22, .24), transparent 34%),
    linear-gradient(135deg, #31583b 0%, #799568 42%, #d7c29a 100%);
}
.photo-card {
  background-image:
    linear-gradient(145deg, rgba(18, 61, 43, .08), rgba(249, 115, 22, .14)),
    repeating-linear-gradient(135deg, rgba(18, 61, 43, .18) 0 2px, transparent 2px 16px);
}
.service-hero {
  background:
    linear-gradient(180deg, rgba(246, 240, 230, .88), rgba(255, 255, 255, .96)),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, .14), transparent 32%);
}
.service-card { overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 60px rgba(18, 61, 43, .16); }
.service-visual { align-items: end; aspect-ratio: 16 / 9; display: flex; padding: 1.25rem; }
.service-visual span {
  align-items: center;
  background: rgba(255,255,255,.92);
  border-radius: .75rem;
  color: #123d2b;
  display: inline-flex;
  font-weight: 800;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}
.service-card li::before { color: #f97316; content: '•'; font-weight: 800; margin-right: .5rem; }
.process-card span { color: #f97316; display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.process-card h3 { color: #123d2b; font-weight: 800; margin-top: 1rem; }
.process-card p { color: rgba(23, 33, 29, .72); line-height: 1.75; margin-top: .5rem; }
.works-hero {
  background:
    linear-gradient(90deg, rgba(18, 61, 43, .94), rgba(18, 61, 43, .72) 52%, rgba(18, 61, 43, .42)),
    radial-gradient(circle at 75% 20%, rgba(249, 115, 22, .26), transparent 34%),
    linear-gradient(135deg, #244f35 0%, #638654 48%, #c9b176 100%);
}
.works-hero-panel { backdrop-filter: blur(10px); }
.work-scene { height: 100%; inset: 0; position: absolute; width: 100%; }
.work-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 18px 55px rgba(18, 61, 43, .14);
  overflow: hidden;
  transition: opacity .2s ease, transform .25s ease, box-shadow .25s ease;
}
.work-card:hover { box-shadow: 0 24px 70px rgba(18, 61, 43, .18); transform: translateY(-4px); }
.work-card.is-hidden { display: none; }
.work-tag,
.filter-button { border-radius: 9999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.work-tag { background: #dce8d6; color: #123d2b; padding: .45rem .75rem; }
.filter-button { background: #f6f0e6; color: #123d2b; padding: .65rem 1rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.filter-button:hover,
.filter-button.is-active { background: #123d2b !important; color: #fff !important; transform: translateY(-1px); }
.scene-overgrown { background: linear-gradient(140deg, rgba(73,97,48,.86), rgba(36,52,28,.96)), repeating-linear-gradient(73deg, transparent 0 12px, rgba(255,255,255,.12) 12px 14px), repeating-linear-gradient(115deg, rgba(0,0,0,.16) 0 6px, transparent 6px 18px); }
.scene-cleared { background: linear-gradient(145deg, rgba(88,132,76,.82), rgba(214,194,145,.92)), repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 2px, transparent 2px 24px); }
.scene-tallgrass { background: linear-gradient(145deg, rgba(91,117,58,.92), rgba(47,70,37,.92)), repeating-linear-gradient(84deg, transparent 0 8px, rgba(255,255,255,.16) 8px 10px); }
.scene-mowed { background: linear-gradient(145deg, rgba(73,132,76,.9), rgba(169,197,118,.86)), repeating-linear-gradient(0deg, rgba(255,255,255,.15) 0 2px, transparent 2px 20px); }
.scene-rocky { background: linear-gradient(145deg, #6f6759, #b79f76), repeating-linear-gradient(45deg, rgba(0,0,0,.13) 0 6px, transparent 6px 18px); }
.scene-finished { background: linear-gradient(145deg, #d8c49a, #8fb66d), repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 2px, transparent 2px 28px); }

@media (max-width: 767px) {
  .site-footer { padding: 56px 0 !important; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .services-dropdown { width: 100%; min-width: 0; }
  .services-dropdown > a { display: flex; justify-content: space-between; }
  .services-dropdown .services-dropdown-menu {
    position: static !important;
    display: block !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: .25rem 0 .25rem 1rem !important;
  }
  .services-dropdown .services-dropdown-menu a { padding: .5rem .75rem; }
  .home-compare { height: 320px !important; }
  .text-headline-xl { font-size: 38px !important; line-height: 44px !important; }
  .px-lg { padding-left: 16px !important; padding-right: 16px !important; }
  .py-xl { padding-top: 56px !important; padding-bottom: 56px !important; }
  .h-\[716px\],
  .h-\[614px\] { height: auto !important; min-height: 560px; }
  .grid { min-width: 0; }
  .process-step::after { display: none; }
}

@media (max-width: 640px) {
  .hero-pattern .inline-flex { display: inline-flex; max-width: 100%; white-space: normal; }
}

/* Migrated inline styles */
.icon-fill{font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24!important}
.style-bozotirtas-1{background-image: url('/images/bozotirtas-1.png');}
.style-bozotirtas-2{background-image: url('/images/bozotirtas-2.png');}
.style-bozotirtas-3{background-image: url('/images/bozot.jpg');}
.style-home-1{background-image: url('/images/home-1.png');}
.style-home-2{background-image: url('/images/home-2.png');}
.style-home-3{background-image: url('/images/home-3.png');}
.style-home-4{background-image: url('/images/home-4.png');}
.style-kaszalas-1{background-image: url('/images/kaszalas-1.png');}
.style-kertkarbantartas-1{background-image: url('/images/kertkarbantartas-1.jpg');}
.style-kertkarbantartas-2{background-image: url('/images/kertkarbantartas-2.jpg');}
.style-kertkarbantartas-3{background-image: url('/images/kertkarbantartas-3.jpg');}
.style-kertkarbantartas-4{background-image: url('/images/kertkarbantartas-4.jpg');}
.style-munkaink-1{background-image: url('/images/munkaink-1.png');}
.style-munkaink-2{background-image: url('/images/b-before.JPG');}
.style-munkaink-3{background-image: url('/images/b-after.JPG');}
.style-munkaink-4{background-image: url('/images/Sz-before.JPG');}
.style-munkaink-5{background-image: url('/images/Sz-after.JPG');}
.style-munkaink-6{background-image: url('/images/munkaink-6.png');}
.style-munkaink-7{background-image: url('/images/munkaink-7.png');}
.style-munkaink-8{background-image: url('/images/munkaink-8.jpg');}
.style-munkaink-9{background-image: url('/images/munkaink-9.jpg');}
.style-szolgaltatasok-1{background-image: url('/images/szolgaltatasok-1.png');}

/* Accessible action colors */
.bg-\[\#ff6b00\],
.bg-\[\#ff6d00\],
.bg-\[\#ff6f00\],
.bg-\[\#f15a24\],
.bg-\[\#e66000\] {
  background-color: #b83f00 !important;
  color: #fff !important;
}
.hover\:bg-\[\#e66000\]:hover,
.hover\:brightness-110:hover {
  filter: brightness(1.05);
}



/* Globális képigazítás az összes kártyára és dobozra */
.group img,
.service-card-hover img,
.before-after-slider img,
form img,
[class*="rounded-"] > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}