.bg-soil.section-padding {
  position: relative;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255, 87, 34, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(255, 138, 80, 0.08), transparent 60%),
    linear-gradient(180deg, #120c05 0%, #1a1208 50%, #120c05 100%);
  overflow: hidden;
}

.bg-soil.section-padding::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.6;
}

.bg-soil.section-padding .container-main {
  position: relative;
  z-index: 1;
}

.bg-soil.section-padding .relative.border.border-white\/\[0\.06\].rounded-lg.overflow-hidden {
  border: 1px solid rgba(255, 87, 34, 0.18) !important;
  border-radius: 20px !important;
  /* Light base so the map reads light from first paint (no dark flash while
     CartoDB tiles load). The map fills this once mounted. */
  background: #eef1f4 !important;
  box-shadow:
    0 0 0 1px rgba(255, 87, 34, 0.05) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -10px rgba(255, 87, 34, 0.25);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  position: relative;
}

.bg-soil.section-padding .relative.border.border-white\/\[0\.06\].rounded-lg.overflow-hidden::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 87, 34, 0.08), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.35));
  z-index: 400;
}

/* Light, minimalist, modern-white map: invert the CartoDB dark tiles into a
   clean Positron-style light basemap (no extra network requests). */
.bg-soil.section-padding .leaflet-container {
  background: #f4f6f8 !important;
  border-radius: 20px !important;
}

.bg-soil.section-padding .leaflet-tile {
  filter: invert(1) hue-rotate(180deg) brightness(1.03) contrast(0.88) saturate(0.25);
}

/* Soften attribution + zoom controls for the light theme */
.bg-soil.section-padding .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.7) !important;
  color: #6b6b6b !important;
  backdrop-filter: blur(4px);
}
.bg-soil.section-padding .leaflet-control-attribution a { color: #ff5722 !important; }
.bg-soil.section-padding .leaflet-bar a {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1a1208 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}
.bg-soil.section-padding .leaflet-bar a:hover { background: #fff !important; color: #ff5722 !important; }

.bg-soil.section-padding .custom-center-marker > div {
  position: relative;
  animation: tg-pulse 2.4s ease-out infinite;
}

/* When a list area is hovered, de-emphasize the Huddinge HQ pin so the area marker reads as active */
.tg-map-has-selection .custom-center-marker > div {
  animation: none;
  opacity: 0.35;
  box-shadow: none !important;
}
.tg-map-has-selection .custom-center-marker > div::before,
.tg-map-has-selection .custom-center-marker > div::after {
  display: none;
}

.bg-soil.section-padding .custom-center-marker > div::before,
.bg-soil.section-padding .custom-center-marker > div::after {
  content: "";
  position: absolute;
  inset: 50% 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 87, 34, 0.6);
  transform: translate(-50%, -50%) scale(1);
  animation: tg-ripple 2.4s ease-out infinite;
  pointer-events: none;
}

.bg-soil.section-padding .custom-center-marker > div::after {
  animation-delay: 1.2s;
}

@keyframes tg-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.45), 0 0 12px rgba(255, 87, 34, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 87, 34, 0), 0 0 18px rgba(255, 87, 34, 0.7); }
}

@keyframes tg-ripple {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
  80%  { transform: translate(-50%, -50%) scale(3.4); opacity: 0;   }
  100% { transform: translate(-50%, -50%) scale(3.4); opacity: 0;   }
}

.bg-soil.section-padding .leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 87, 34, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px -10px rgba(20, 20, 20, 0.28), 0 0 0 1px rgba(255, 87, 34, 0.06) !important;
  padding: 2px 4px !important;
  color: #1a1208 !important;
}

.bg-soil.section-padding .leaflet-popup-content {
  margin: 10px 14px !important;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  color: #1a1208 !important;
}

.bg-soil.section-padding .leaflet-popup-content span {
  color: #1a1208 !important;
  -webkit-text-fill-color: currentColor !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

/* Leaflet popups: readable labels even if section-scoped rules miss */
.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.97) !important;
  color: #1a1208 !important;
}
.leaflet-popup-content,
.leaflet-popup-content span {
  color: #1a1208 !important;
  -webkit-text-fill-color: currentColor !important;
}
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.97) !important;
}

.bg-soil.section-padding .leaflet-popup-pane {
  z-index: 1200 !important;
}

.bg-soil.section-padding .leaflet-popup-content a { color: #ff5722 !important; }
.bg-soil.section-padding .leaflet-popup-close-button { color: #8a8a8a !important; }

.bg-soil.section-padding .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(255, 87, 34, 0.35) !important;
  box-shadow: none !important;
}

.bg-soil.section-padding .lg\:col-span-5 .grid > div {
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-radius: 8px;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: -10px;
  margin-right: -10px;
}

.bg-soil.section-padding .lg\:col-span-5 .grid > div:hover {
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.10), rgba(255, 87, 34, 0));
  border-bottom-color: rgba(255, 87, 34, 0.25) !important;
}

.bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10 {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.14), rgba(255, 87, 34, 0.04)) !important;
  border: 1px solid rgba(255, 87, 34, 0.28) !important;
  border-radius: 16px !important;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 138, 80, 0.35), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.bg-soil.section-padding h2.font-display {
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f3efe8 0%, #d4cfc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-soil.section-padding .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 87, 34, 0.3);
  border-radius: 999px;
  background: rgba(255, 87, 34, 0.08);
  color: #ff8a50;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.bg-soil.section-padding .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff5722;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff5722;
  animation: tg-blink 1.6s ease-in-out infinite;
}

@keyframes tg-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

/* === ServiceMapSection Enhancements === */

/* Area list items: enhanced hover with orange sweep */
.bg-soil.section-padding .grid.grid-cols-2 > div {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 0 -12px;
  transition: background 0.3s ease, transform 0.25s ease;
}

.bg-soil.section-padding .grid.grid-cols-2 > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.12), transparent);
  transition: width 0.4s ease;
  border-radius: 6px;
}

.bg-soil.section-padding .grid.grid-cols-2 > div:hover::before {
  width: 100%;
}

.bg-soil.section-padding .grid.grid-cols-2 > div:hover {
  transform: translateX(4px);
}

.bg-soil.section-padding .grid.grid-cols-2 > div:hover span:last-child {
  color: #ff8a50 !important;
}

.bg-soil.section-padding .grid.grid-cols-2 > div:hover span:first-child {
  background: #ff5722 !important;
  box-shadow: 0 0 8px rgba(255, 87, 34, 0.6);
}

/* Highlight Huddinge as home base */
.bg-soil.section-padding .grid.grid-cols-2 > div:first-child {
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.08), transparent);
  border-left: 2px solid rgba(255, 87, 34, 0.5);
  padding-left: 10px;
}

.bg-soil.section-padding .grid.grid-cols-2 > div:first-child span:first-child {
  background: #ff5722 !important;
  box-shadow: 0 0 6px rgba(255, 87, 34, 0.5);
  width: 8px !important;
  height: 8px !important;
}

.bg-soil.section-padding .grid.grid-cols-2 > div:first-child span:last-child {
  color: #f3efe8 !important;
  font-weight: 600;
}

/* Contact box: subtle breathing glow */
.bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10 {
  animation: tg-contact-glow 4s ease-in-out infinite;
}

@keyframes tg-contact-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0), inset 0 0 0 1px rgba(255, 87, 34, 0.28); }
  50%      { box-shadow: 0 0 30px -5px rgba(255, 87, 34, 0.2), inset 0 0 0 1px rgba(255, 87, 34, 0.4); }
}

/* Section heading: map pin icon via eyebrow */
.bg-soil.section-padding .eyebrow {
  gap: 8px;
}

.bg-soil.section-padding h2.font-display {
  position: relative;
  display: inline-block;
}

/* Phone number in contact box: hover underline */
.bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10 a,
.bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10 span[style*="color"] {
  transition: letter-spacing 0.3s ease;
}

.bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10:hover span[style*="color"] {
  letter-spacing: 0.04em;
}

/* Map container: faint light vignette (below markers + popups) */
.bg-soil.section-padding .leaflet-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 350;
  border-radius: 20px;
  box-shadow: inset 0 0 50px 14px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .bg-soil.section-padding .custom-center-marker > div,
  .bg-soil.section-padding .custom-center-marker > div::before,
  .bg-soil.section-padding .custom-center-marker > div::after,
  .bg-soil.section-padding .eyebrow::before {
    animation: none !important;
  }
  .bg-soil.section-padding .lg\:col-span-5 .bg-orange-brand\/10 {
    animation: none !important;
  }
  .bg-soil.section-padding .grid.grid-cols-2 > div,
  .bg-soil.section-padding .grid.grid-cols-2 > div::before {
    transition: none;
  }
}

/* =======================================================================
   SITE-WIDE VISUAL ENHANCEMENTS (all pages)
   Safe + additive: nothing here hides content. CSS animations degrade to
   the element's normal visible state if unsupported or reduced-motion.
   ======================================================================= */

/* Brand text selection */
::selection { background: rgba(255, 87, 34, 0.85); color: #fff; }
::-moz-selection { background: rgba(255, 87, 34, 0.85); color: #fff; }

/* FIX: header brand wordmark "Trädgårdsstyrkan" was hidden on phones
   (Tailwind "hidden sm:block" => display:none below 640px). Force it visible. */
.font-display.tracking-tight.hidden.sm\:block {
  display: block !important;
}
/* Keep it from crowding the hamburger on the smallest phones */
@media (max-width: 400px) {
  .font-display.tracking-tight.hidden.sm\:block {
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
  }
}

/* =======================================================================
   NAV — balanced compact bar between lg and xl
   Keep all links visible; only drop the phone (still in footer).
   ======================================================================= */
@media (min-width: 1024px) and (max-width: 1399px) {
  nav.fixed.top-0 .container-main > .flex.items-center.justify-between.h-16.lg\:h-20 {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    justify-content: stretch !important;
  }

  nav.fixed.top-0 a.flex.items-center.gap-3.group {
    justify-self: start;
    gap: 0.5rem !important;
    min-width: 0;
  }

  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-8 {
    display: flex !important;
    justify-content: center;
    justify-self: center;
    flex-wrap: nowrap;
    gap: clamp(0.35rem, 0.9vw, 0.7rem) !important;
    min-width: 0;
    width: 100%;
  }

  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-4 {
    justify-self: end;
    gap: 0.5rem !important;
    flex-shrink: 0;
  }

  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-8 a,
  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-4 a,
  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-4 button {
    white-space: nowrap !important;
    font-size: clamp(0.72rem, 0.95vw, 0.8125rem) !important;
  }

  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-8 a {
    padding: 8px 2px !important;
  }

  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-4 > a[href^="tel:"] {
    display: none !important;
  }

  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-4 a.bg-orange-brand,
  nav.fixed.top-0 .hidden.lg\:flex.items-center.gap-4 a[class*="bg-orange-brand"] {
    padding: 0.45rem 0.7rem !important;
    font-size: clamp(0.72rem, 0.95vw, 0.8125rem) !important;
  }

  nav.fixed.top-0 .font-display.text-xl.lg\:text-2xl {
    font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
    white-space: nowrap !important;
  }

  nav.fixed.top-0 img.h-10.lg\:h-12,
  nav.fixed.top-0 .tg-logo-frame {
    height: 2.875rem !important;
    width: 2.875rem !important;
  }
}

/* =======================================================================
   BRAND LOGO — bigger circular badge + zoomed-out full crest
   ======================================================================= */
.tg-logo-frame {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.875rem !important;
  height: 2.875rem !important;
  min-width: 2.875rem !important;
  min-height: 2.875rem !important;
  max-width: 2.875rem !important;
  max-height: 2.875rem !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 87, 34, 0.32) !important;
  background-color: #1a1208 !important;
}

.tg-logo-frame img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  display: block !important;
}

header img[alt="Trädgårdsstyrkan"],
nav img[alt="Trädgårdsstyrkan"],
footer img[alt="Trädgårdsstyrkan"],
a[data-tg-home-link] img[alt="Trädgårdsstyrkan"],
a[href="/"] img[alt="Trädgårdsstyrkan"] {
  height: 2.875rem !important;
  width: 2.875rem !important;
  min-width: 2.875rem !important;
  min-height: 2.875rem !important;
  max-height: 2.875rem !important;
  max-width: 2.875rem !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  display: block !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 87, 34, 0.32) !important;
}

@media (min-width: 1024px) {
  .tg-mobile-close {
    display: none !important;
  }
}

/* Smooth in-page anchor scrolling */
html { scroll-behavior: smooth; }

/* Accessible keyboard focus ring across every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #ff8a50 !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* Gentle page entrance fade (once, on load). Opacity-only ON PURPOSE: a
   persisted transform on #root would make it a containing block for the app's
   position:fixed elements (e.g. the mobile menu overlay), so we must not use
   transform here. If animations are unsupported, opacity stays 1 — never hidden. */
@keyframes tg-page-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#root { animation: tg-page-fade 0.5s ease both; }

/* Subtle zoom on images that live inside rounded, clipped cards / gallery
   tiles (only affects images whose container already hides overflow). */
[class*="overflow-hidden"] > img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
[class*="overflow-hidden"]:hover > img {
  transform: scale(1.045);
}

/* Slightly richer hover for primary/orange buttons & links site-wide */
a, button { transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease; }

/* Custom scrollbar to match the brand (WebKit + Firefox) */
* { scrollbar-color: #ff5722 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7a45, #e64a19);
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.15);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ff8a50, #ff5722); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #root { animation: none; }
  [class*="overflow-hidden"] > img { transition: none; }
  [class*="overflow-hidden"]:hover > img { transform: none; }
}

/* =======================================================================
   POST-REVIEW FIXES (cross-device review pass)
   ======================================================================= */

/* Brighter text on the orange CTAs (was paper #f3efe8 → pure white) */
a.bg-orange-brand, button.bg-orange-brand { color: #fff !important; }

/* Larger tap targets for the most-used controls (WCAG 2.5.5 / iOS HIG = 44px) */
button[aria-label="Toggle menu"] { min-width: 44px; min-height: 44px; }
button[aria-label="Toggle language"] { min-height: 44px; padding-top: 11px; padding-bottom: 11px; }

/* Consent checkbox — compact native box on all forms (not 44px touch padding) */
form .flex.items-start.gap-3:has(#consent),
form .tg-consent-row,
form [data-tg-consent-wrap="1"] {
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 4px 0 2px !important;
}
form input[type="checkbox"]#consent,
form input[type="checkbox"][data-tg-consent="1"],
form .tg-consent-row input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 16px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
  line-height: 1 !important;
  accent-color: #ff5722;
  cursor: pointer;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
form input[type="checkbox"]#consent:focus-visible,
form input[type="checkbox"][data-tg-consent="1"]:focus-visible {
  outline-offset: 1px !important;
}
form label[for="consent"] {
  display: block !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  line-height: 1.45 !important;
  cursor: pointer;
}
@media (max-width: 768px) {
  form input[type="checkbox"]#consent,
  form input[type="checkbox"][data-tg-consent="1"],
  form .tg-consent-row input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }
}

/* RUT quote form (light card): readable consent copy */
form label[for="consent"].text-soil\/60 {
  color: rgba(26, 26, 26, 0.72) !important;
}

/* Keep the social rail away from dense desktop/tablet content. The mobile
   layout is handled in social.js as a compact bottom dock. */
@media (min-width: 641px) and (max-width: 1535px) {
  #tg-social-rail { display: none !important; }
}

/* =======================================================================
   VISUAL ENHANCEMENT PASS — "industrial workshop × Nordic garden"
   ======================================================================= */

/* --- Mobile menu: it used `bg-soil/98` which is NOT a generated class, so the
   overlay had no solid background (only a blur) and text vanished on light pages.
   Give it a dark, warm "blurry orange dark" backdrop so links are legible. --- */
.bg-soil\/98 {
  background-color: rgba(17, 11, 5, 0.96) !important;
  background-image:
    radial-gradient(115% 70% at 50% -12%, rgba(255, 87, 34, 0.22), transparent 55%),
    radial-gradient(80% 60% at 100% 112%, rgba(255, 138, 80, 0.13), transparent 60%) !important;
}

.fixed.inset-0.z-40.bg-soil\/98 {
  z-index: 2400 !important;
  position: fixed !important;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 420ms !important;
}

/* Smooth entrance for the mobile menu content */
.fixed.inset-0.z-40.bg-soil\/98 .flex.flex-col.items-center.justify-center,
.fixed.inset-0.z-40.bg-soil\/98 .flex.flex-col.items-center.justify-center.h-full.gap-8 {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  animation: tg-mobile-menu-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both;
}

@keyframes tg-mobile-menu-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =======================================================================
   MOBILE MENU CLOSE "X" — body-level fixed so React can't nuke it.
   Frosted glass pill; matches the blurred menu overlay.
   ======================================================================= */
.tg-mobile-close {
  position: fixed !important;
  top: max(14px, env(safe-area-inset-top, 14px)) !important;
  right: max(14px, env(safe-area-inset-right, 14px)) !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #f3efe8 !important;
  background: rgba(243, 239, 232, 0.07) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  border: 1px solid rgba(243, 239, 232, 0.16) !important;
  border-radius: 9999px !important;
  z-index: 2147483000 !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
  box-shadow:
    0 10px 28px -8px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
  touch-action: manipulation;
  user-select: none;
  flex: 0 0 auto !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.tg-mobile-close svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  pointer-events: none;
}
.tg-mobile-close.is-visible {
  display: flex !important;
  animation: tg-mobile-x-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes tg-mobile-x-in {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}
.tg-mobile-close:hover,
.tg-mobile-close:active {
  background: rgba(255, 87, 34, 0.16) !important;
  border-color: rgba(255, 87, 34, 0.38) !important;
  color: #fff !important;
  transform: scale(1.05);
  box-shadow:
    0 12px 32px -8px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 87, 34, 0.12) inset !important;
}
.tg-mobile-close:focus,
.tg-mobile-close:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 3px rgba(255, 87, 34, 0.45),
    0 10px 28px -8px rgba(0, 0, 0, 0.55) !important;
}
@media (prefers-reduced-motion: reduce) {
  .tg-mobile-close.is-visible { animation: none; }
  .tg-mobile-close:hover,
  .tg-mobile-close:active { transform: none; }
}

button[aria-label="Toggle menu"] {
  position: relative;
  z-index: 2500;
}

/* --- Premium service / garden cards (shared class on both pages) --- */
.section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%) !important;
  border: 1px solid rgba(26, 18, 8, 0.07) !important;
  box-shadow: 0 1px 2px rgba(26, 18, 8, 0.04), 0 10px 26px -18px rgba(26, 18, 8, 0.22);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
.section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #ff5722, #ff8a50);
  transform: scaleY(0); transform-origin: top; transition: transform 0.4s ease;
}
.section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white:hover {
  transform: translateY(-4px) !important;   /* !important to beat Framer's inline transform */
  box-shadow: 0 1px 2px rgba(26, 18, 8, 0.05), 0 26px 50px -26px rgba(255, 87, 34, 0.38) !important;
  border-color: rgba(255, 87, 34, 0.3) !important;
}
.section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white:hover::before { transform: scaleY(1); }

/* --- Icon tiles --- */
/* Garden page: turn the bare emoji span into a tile matching the services page */
[code-path="src/pages/GardenPage.tsx:52:21"] {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(255, 87, 34, 0.05));
  border: 1px solid rgba(255, 87, 34, 0.22); border-radius: 13px; color: #ff5722;
  font-size: 22px; line-height: 1; transition: transform 0.35s ease, background 0.35s ease;
}
/* Services page: enrich the existing orange tile */
.w-10.h-10.bg-orange-brand\/10.rounded-lg {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.16), rgba(255, 87, 34, 0.05)) !important;
  border: 1px solid rgba(255, 87, 34, 0.2);
  color: #ff5722;
  transition: transform 0.35s ease, background 0.35s ease;
}
.section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white:hover [code-path="src/pages/GardenPage.tsx:52:21"],
.section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white:hover .w-10.h-10.bg-orange-brand\/10.rounded-lg {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.28), rgba(255, 87, 34, 0.1)) !important;
}
/* The swapped SVG icons */
.tg-svg-icon { color: #ff5722; }
.tg-svg-icon .tg-svg, svg.tg-svg { width: 24px; height: 24px; display: block; }
.tg-svg-inline { display: inline-flex; vertical-align: -0.18em; margin-right: 8px; }
.tg-svg-inline .tg-svg { width: 20px; height: 20px; }

/* --- "Good to know" callout (garden) --- */
[code-path="src/pages/GardenPage.tsx:61:15"] {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.09), rgba(255, 87, 34, 0.03)) !important;
  border: 1px solid rgba(255, 87, 34, 0.22) !important;
  position: relative; overflow: hidden;
}
[code-path="src/pages/GardenPage.tsx:61:15"]::after {
  content: ""; position: absolute; top: -30%; right: -10%; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255, 138, 80, 0.18), transparent 70%); pointer-events: none;
}

/* --- Global eyebrow polish (mono kicker with pulsing dot) --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #ff7a45;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #ff5722; box-shadow: 0 0 10px rgba(255, 87, 34, 0.8);
  animation: tg-blink 1.8s ease-in-out infinite;
}
.bg-soil .eyebrow, .bg-soil-light .eyebrow { color: #ff8a50; }

/* --- Section heading underline accent --- */
.section-padding h2.font-display { position: relative; }

/* --- Scroll reveal (driven by reveal.js; safe — only below-fold elements) --- */
.tg-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tg-reveal.tg-in { opacity: 1; transform: none; }

/* --- Gallery tiles: show the photo title on hover + cleaner depth --- */
.tg-tile { position: relative; }
.tg-tile::after {
  content: attr(aria-label);
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(8, 5, 3, 0.86));
  color: #fff; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: -0.01em; opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease; pointer-events: none;
}
.tg-tile:hover::after { opacity: 1; transform: none; }

/* --- Button shine on the primary CTAs --- */
a.bg-orange-brand, button.bg-orange-brand {
  position: relative; overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(255, 87, 34, 0.55);
}
a.bg-orange-brand::after, button.bg-orange-brand::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease; pointer-events: none;
}
a.bg-orange-brand:hover::after, button.bg-orange-brand:hover::after { left: 130%; }

@media (prefers-reduced-motion: reduce) {
  .tg-reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .eyebrow::before { animation: none; }
  .section-padding .flex.items-start.gap-4.p-4.rounded-lg.bg-white:hover { transform: none; }
  a.bg-orange-brand::after, button.bg-orange-brand::after { display: none; }
}

/* =======================================================================
   ROUND-2 FIXES + MINIMAL EYE-CATCHING EFFECTS
   ======================================================================= */

/* FIX (Image #15): eyebrow sat INLINE beside the heading in centered header
   blocks. Force it onto its own line, centered, content-width pill. */
.text-center > .eyebrow {
  display: flex !important;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FIX (Image #14): the featured wide/tall tile left a hole in the 3-col grid.
   Make every gallery tile a uniform 1×1 cell with a consistent ratio — clean,
   gapless grid. */
.grid.grid-cols-2.md\:grid-cols-3 { grid-auto-flow: dense; }
.grid.grid-cols-2.md\:grid-cols-3 > * {
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
}

/* Cartoon van (Manifesto + About): a soft, warm breathing glow — a "simple
   effect" that doesn't fight the app's Framer transform (box-shadow only). */
img[src*="about-team"] {
  animation: tg-van-glow 5.5s ease-in-out infinite;
  border-radius: 0.5rem !important;
  display: block;
}
div.relative:has(> img[src*="about-team"]) {
  overflow: visible;
}
div.relative:has(> img[src*="about-team"]) > .absolute.bg-orange-brand {
  top: calc(100% + 0.75rem) !important;
  right: auto !important;
  bottom: auto !important;
  left: 0 !important;
  z-index: 2;
}
@keyframes tg-van-glow {
  0%, 100% { box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.55); }
  50%      { box-shadow: 0 26px 64px -22px rgba(255, 87, 34, 0.5); }
}

/* Animated underline accent that sweeps in under section headings.
   Applies to all display h2s (not just .section-padding) so the home
   "Våra tjänster" heading gets it too. */
h2.font-display::after {
  content: "";
  display: block;
  width: 56px; height: 3px; margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5722, #ff8a50);
  transform-origin: left;
  animation: tg-underline 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.text-center > h2.font-display::after { margin-left: auto; margin-right: auto; }
@keyframes tg-underline { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* Gallery tiles: a subtle ring + lift so the grid feels tactile */
.tg-tile {
  border-radius: 8px;
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tg-tile:hover {
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 87, 34, 0.35);
}

.tg-gallery-captioned {
  display: flex !important;
  flex-direction: column;
  position: relative;
  overflow: visible !important;
  height: auto !important;
  aspect-ratio: auto !important;
  border-radius: 8px;
  cursor: default !important;
  pointer-events: auto !important;
  background: transparent;
  box-shadow: none;
}

/* Inner photo frame keeps crop; caption sits below outside overflow clip */
.tg-gallery-captioned > .aspect-\[4\/3\],
.tg-gallery-captioned > [class*="aspect-"] {
  overflow: hidden !important;
  border-radius: 8px;
  flex: 0 0 auto;
  width: 100%;
}

.tg-gallery-captioned > .aspect-\[4\/3\],
.tg-gallery-captioned > [class*="aspect-"][class*="overflow-hidden"] {
  aspect-ratio: 4 / 3;
}

/* Hover overlays only — never hide the filter chip row (tsx:70) */
.tg-gallery-captioned > .absolute,
[code-path="src/pages/GalleryPage.tsx:103:17"],
[code-path="src/pages/GalleryPage.tsx:104:17"] {
  display: none !important;
}

.grid.grid-cols-2.md\:grid-cols-3 > .tg-gallery-captioned {
  height: auto !important;
  aspect-ratio: auto !important;
}

.tg-gallery-captioned::after {
  display: none !important;
}

.tg-gallery-captioned img {
  aspect-ratio: 4 / 3;
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.04);
  border-radius: 8px;
}

.tg-gallery-caption {
  position: static;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  justify-content: start;
  align-items: center;
  gap: 10px;
  padding: 12px 2px 0;
  border-radius: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #1a1208;
  text-align: left;
}

.tg-gallery-caption-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.24);
  line-height: 1;
  text-align: center;
  color: #ff5722;
}

.tg-gallery-caption-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.tg-gallery-caption-copy {
  display: grid;
  gap: 3px;
  max-width: none;
  min-width: 0;
}

.tg-gallery-caption h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 15px;
  line-height: 1.22;
  color: #1a1208;
  text-align: left;
}

.tg-gallery-caption p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(26, 18, 8, 0.7);
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ROUND-7 - Gallery polish: clean photos with captions below */
@media (max-width: 640px) {
  .bg-paper-warm.section-padding:has(.tg-gallery-captioned) {
    padding-top: 2.5rem !important;
    padding-bottom: 5rem !important;
  }

  .grid.grid-cols-2.md\:grid-cols-3:has(.tg-gallery-captioned) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .grid.grid-cols-2.md\:grid-cols-3 > .tg-gallery-captioned {
    position: relative;
    overflow: visible !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid rgba(26, 18, 8, 0.08) !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .tg-gallery-captioned > div:first-child,
  .tg-gallery-captioned img {
    border-radius: 8px !important;
  }

  .tg-gallery-captioned img {
    aspect-ratio: 4 / 3 !important;
    display: block;
    filter: saturate(1.02) contrast(1.03);
  }

  .tg-gallery-captioned:hover img,
  .tg-gallery-captioned:active img {
    transform: none !important;
  }

  .tg-gallery-captioned::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 87, 34, 0.06);
    z-index: 2;
  }

  .tg-gallery-caption {
    position: static;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    width: auto;
    padding: 10px 2px 0 !important;
    color: #1a1208;
    background: transparent;
    border: 0;
  }

  .tg-gallery-caption-icon {
    width: 30px;
    height: 30px;
    align-self: center;
    background: rgba(255, 87, 34, 0.1);
    border-color: rgba(255, 87, 34, 0.24);
    color: #ff5722;
    box-shadow: none;
  }

  .tg-gallery-caption-icon svg {
    width: 17px;
    height: 17px;
  }

  .tg-gallery-caption-copy {
    gap: 5px;
  }

  .tg-gallery-caption h3 {
    color: #1a1208;
    font-size: 14px;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .tg-gallery-caption p {
    color: rgba(26, 18, 8, 0.7);
    font-size: 11px;
    line-height: 1.32;
  }
}

/* =======================================================================
   GALLERY LIGHTBOX — full image + full caption on tap
   Single overlay, no separate blurred backdrop layer.
   ======================================================================= */
html.tg-lb-open,
html.tg-lb-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}
#tg-lb {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  box-sizing: border-box;
  background: rgba(18, 12, 5, 0.94);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding:
    max(56px, calc(12px + env(safe-area-inset-top)))
    max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom))
    max(12px, env(safe-area-inset-left));
}
#tg-lb.open {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  animation: tg-lb-in 0.2s ease;
}
@keyframes tg-lb-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tg-lb-panel {
  position: relative;
  width: min(920px, 100%);
  max-width: 100%;
  max-height: none;
  margin: auto;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #231910 0%, #1a1208 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
#tg-lb .tg-gallery-caption,
#tg-lb .tg-gallery-captioned::before,
#tg-lb .tg-gallery-captioned::after {
  display: none !important;
}
#tg-lb .tg-lb-img {
  aspect-ratio: unset !important;
  filter: none !important;
  transform: none !important;
  border-radius: 0 !important;
}
.tg-lb-close {
  display: none;
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 2147482001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  background: rgba(26, 18, 8, 0.92);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
#tg-lb.open .tg-lb-close {
  display: flex;
}
.tg-lb-close:hover,
.tg-lb-close:active {
  background: rgba(255, 87, 34, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}
.tg-lb-media {
  flex: 0 0 auto;
  background: #0d0904;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tg-lb-prev,
.tg-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(26, 18, 8, 0.86);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.tg-lb-prev { left: 10px; }
.tg-lb-next { right: 10px; }
.tg-lb-prev:hover,
.tg-lb-next:hover {
  background: rgba(255, 87, 34, 0.85);
}
.tg-lb-prev[hidden],
.tg-lb-next[hidden],
.tg-lb-ba[hidden]:not(.is-visible) {
  display: none !important;
}
.tg-lb-ba.is-visible {
  display: flex !important;
}
.tg-lb-dots[hidden] {
  display: none !important;
}
.tg-lb-ba {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.tg-lb-ba button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(26, 18, 8, 0.88);
  color: #f3efe8;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tg-lb-ba button.is-on {
  background: #ff5722;
  border-color: transparent;
  color: #fff;
}
.tg-lb-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}
.tg-lb-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}
.tg-lb-dot.is-on { background: #ff5722; }
.tg-lb-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(55dvh, 480px);
  object-fit: contain;
  background: #0d0904;
}
.tg-lb-caption {
  flex: 0 0 auto;
  padding: 18px 20px 24px;
  color: #f3efe8;
  max-height: min(40dvh, 320px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tg-lb-title {
  margin: 0 0 10px;
  padding-right: 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.25;
  color: #fff;
}
.tg-lb-desc {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.55;
  color: rgba(243, 239, 232, 0.88);
  white-space: pre-wrap;
}
[data-tg-gallery-grid] > [data-tg-react-tile] {
  display: none !important;
}
@media (max-width: 640px) {
  #tg-lb {
    padding:
      max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }
  .tg-lb-panel {
    width: 100%;
    border-radius: 14px;
  }
  .tg-lb-img {
    max-height: min(42dvh, 300px);
  }
  .tg-lb-caption {
    padding: 14px 16px 18px;
  }
  .tg-lb-title {
    font-size: 17px;
  }
  .tg-lb-desc {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #tg-lb.open { animation: none; }
}

.tg-form-replacement {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.tg-form-panel-replaced {
  align-self: start !important;
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
}

[data-tg-hidden-booking="1"],
[code-path="src/pages/ServicesPage.tsx:127:13"] > :not(.tg-form-replacement),
[code-path="src/pages/GardenPage.tsx:71:15"] > :not(.tg-form-replacement),
[code-path="src/pages/GardenPage.tsx:89:15"],
.bg-white.tg-form-panel-replaced,
[class*="bg-white"].tg-form-panel-replaced {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.bg-soil.tg-form-panel-replaced,
[class*="bg-soil"].tg-form-panel-replaced {
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  background:
    radial-gradient(480px 220px at 100% 0%, rgba(255, 87, 34, 0.16), transparent 62%),
    linear-gradient(180deg, #1d1309 0%, #130d06 100%) !important;
  border: 1px solid rgba(255, 87, 34, 0.18) !important;
  box-shadow: 0 18px 45px -32px rgba(0, 0, 0, 0.7);
}

.bg-white.tg-form-panel-replaced,
[class*="bg-white"].tg-form-panel-replaced {
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%) !important;
  border: 1px solid rgba(255, 87, 34, 0.16) !important;
}

.tg-form-replacement-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff8a50;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tg-form-replacement-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ff5722;
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.75);
}

.tg-form-replacement-title {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
  font-weight: 400;
}

.tg-form-replacement-copy {
  margin: 0;
  max-width: 42ch;
  color: rgba(243, 239, 232, 0.82);
  font-size: 15px;
  line-height: 1.55;
}

.tg-form-replacement-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.bg-white .tg-form-replacement-title,
.bg-paper .tg-form-replacement-title,
.bg-paper-warm .tg-form-replacement-title,
[class*="bg-white"] .tg-form-replacement-title {
  color: #1a1208;
}

.bg-white .tg-form-replacement-copy,
.bg-paper .tg-form-replacement-copy,
.bg-paper-warm .tg-form-replacement-copy,
[class*="bg-white"] .tg-form-replacement-copy {
  color: rgba(26, 18, 8, 0.68);
}

.tg-form-replacement-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 4px;
  background: #ff5722;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(255, 87, 34, 0.55);
}

.tg-form-replacement-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 4px;
  color: rgba(243, 239, 232, 0.9) !important;
  font-weight: 600;
}

.bg-white .tg-form-replacement-secondary,
.bg-paper .tg-form-replacement-secondary,
.bg-paper-warm .tg-form-replacement-secondary,
[class*="bg-white"] .tg-form-replacement-secondary {
  color: rgba(26, 18, 8, 0.8) !important;
}

.bg-soil.tg-form-panel-replaced .tg-form-replacement-title,
[class*="bg-soil"].tg-form-panel-replaced .tg-form-replacement-title {
  color: #fff !important;
}

.bg-soil.tg-form-panel-replaced .tg-form-replacement-copy,
[class*="bg-soil"].tg-form-panel-replaced .tg-form-replacement-copy {
  color: rgba(243, 239, 232, 0.84) !important;
}

.bg-soil.tg-form-panel-replaced .tg-form-replacement-secondary,
[class*="bg-soil"].tg-form-panel-replaced .tg-form-replacement-secondary {
  color: rgba(243, 239, 232, 0.92) !important;
}

@media (max-width: 480px) {
  .tg-form-panel-replaced {
    padding: 20px !important;
  }

  .tg-form-replacement {
    gap: 12px;
  }

  .tg-form-replacement-title {
    max-width: 100%;
    font-size: 1.25rem;
  }

  .tg-form-replacement-actions {
    display: grid;
    width: 100%;
  }

  .tg-form-replacement-link,
  .tg-form-replacement-secondary {
    width: 100%;
  }
}

.tg-form-status {
  min-height: 22px;
  margin: -2px 0 0;
  line-height: 1.45;
}

.tg-form-status[data-state="success"] {
  color: #86efac !important;
}

.tg-form-status[data-state="error"] {
  color: #fecaca !important;
}

form button[disabled],
form input[type="submit"][disabled] {
  opacity: 0.65;
  cursor: wait;
}

@media (prefers-reduced-motion: reduce) {
  img[src*="about-team"] { animation: none; }
  .section-padding h2.font-display::after { animation: none; }
}

/* =======================================================================
   ROUND-3 REVIEW FIXES (accessibility / contrast / overlap)
   ======================================================================= */

/* /50 body copy was below AA contrast — raise opacity for legibility. */
.text-soil\/50 { color: rgba(26, 18, 8, 0.82) !important; }
.text-paper\/50 { color: rgba(243, 239, 232, 0.86) !important; }
.bg-soil .text-paper\/30 { color: rgba(243, 239, 232, 0.72) !important; }
.bg-soil .text-paper\/40,
footer h4.text-paper\/40,
footer .text-paper\/30 {
  color: rgba(243, 239, 232, 0.78) !important;
}
.bg-paper .text-soil\/40,
.bg-paper-warm .text-soil\/40 {
  color: rgba(26, 18, 8, 0.66) !important;
}

/* The fixed back-to-top button overlapped footer links on phones — give the
   footer breathing room at the bottom on small screens. */
@media (max-width: 640px) {
  footer { padding-bottom: 80px !important; }
}

/* Home "Våra tjänster" glass cards had an imperceptible hover (white/10->15).
   Give them a real lift + orange accent consistent with the rest of the site. */
.glass-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

/* On dark soil sections, default glass (white/10) made light body copy fail WCAG.
   Use a darker frosted panel so muted paper text reads clearly on phones. */
.bg-soil .glass-card,
section.bg-soil .glass-card {
  background: rgba(18, 12, 5, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.glass-card .text-paper\/50,
.glass-card .text-paper\/60,
.glass-card p.text-sm[class*="text-paper"] {
  color: rgba(243, 239, 232, 0.94) !important;
}

/* Trädgård promo strip: orange tint reads as a light panel — use soil text */
div[class*="bg-orange-brand/15"] .text-paper\/60,
div[class*="bg-orange-brand/15"] .text-paper\/50 {
  color: rgba(26, 18, 8, 0.88) !important;
}
.glass-card:hover {
  transform: translateY(-5px) !important;   /* !important to beat Framer's inline transform */
  box-shadow: 0 28px 54px -26px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 87, 34, 0.38);
  border-color: rgba(255, 87, 34, 0.4) !important;
}
@media (prefers-reduced-motion: reduce) { .glass-card:hover { transform: none; } }

/* Hide chrome overlays while lightbox / fullscreen modal is open.
   Use html.tg-lb-open (set in JS) so this works even when :has() is flaky. */
html.tg-lb-open #tg-social-rail,
html.tg-lb-open #tg-scroll-top,
html.tg-lb-open #tg-cookie-banner,
body:has(#tg-lb.open) #tg-social-rail,
body:has(#tg-lb.open) #tg-scroll-top,
body:has(#tg-lb.open) #tg-cookie-banner,
body:has(.fixed.inset-0.z-50) #tg-social-rail,
body:has(.fixed.inset-0.z-50) #tg-scroll-top,
body:has(.fixed.inset-0.z-50) #tg-cookie-banner {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep lightbox above any injected fixed widgets */
#tg-lb,
#tg-lb.open {
  z-index: 2147483000 !important;
}
#tg-lb .tg-lb-close,
.tg-lb-close {
  z-index: 2147483001 !important;
}

/* =======================================================================
   SCREENSHOT FEEDBACK (map areas, Utvalda projekt, mobile hero)
   ======================================================================= */

/* Utvalda projekt: hide the area/location line on hover (شيل المنطقة) */
.bg-paper-warm.section-padding .group .absolute.bottom-0 p.text-paper\/60 {
  display: none !important;
}

/* Mobile hero: full-width CTAs, safer vertical rhythm under fixed nav */
@media (max-width: 639px) {
  section.bg-soil.min-h-screen.flex.items-center {
    padding-top: 5.5rem !important;
    padding-bottom: 3.5rem !important;
    min-height: 100svh !important;
  }
  section.bg-soil h1.font-display {
    font-size: clamp(1.4rem, 6.2vw, 2.15rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-wrap: balance !important;
    overflow-wrap: break-word !important;
    max-width: 92vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

section.bg-soil h1.font-display {
  font-size: clamp(2rem, 5.2vw, 4.5rem) !important;
  line-height: 1.1 !important;
  text-wrap: balance !important;
  overflow-wrap: break-word;
}

/* Show title on touch devices where hover overlay stays hidden */
@media (hover: none) {
  .bg-paper-warm.section-padding .group .absolute.inset-0.bg-gradient-to-t {
    opacity: 0.55 !important;
  }
  .bg-paper-warm.section-padding .group .absolute.bottom-0 {
    transform: none !important;
    opacity: 1 !important;
  }
  .bg-paper-warm.section-padding .group .absolute.bottom-0 h3 {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  }
}

/* Mobile hero: full-width CTAs, safer vertical rhythm under fixed nav */
@media (max-width: 639px) {
  section.bg-soil.min-h-screen.flex.items-center {
    min-height: 88svh;
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  section.bg-soil.min-h-screen .relative.z-10 .flex.flex-col.sm\:flex-row {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  section.bg-soil.min-h-screen .relative.z-10 .flex.flex-col.sm\:flex-row a {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  section.bg-soil.min-h-screen h1.font-display {
    font-size: clamp(2rem, 9vw, 2.5rem) !important;
    line-height: 1.08 !important;
  }

  section.bg-soil.min-h-screen .absolute.bottom-8 {
    bottom: 1.25rem;
  }
}

/* Service map: keep the two new southern areas readable in the 2-col list */
.bg-soil.section-padding .grid.grid-cols-2 > div span:last-child {
  line-height: 1.35;
}

/* =======================================================================
   ROUND-4 — MAP + MINIMALIST EYE-CATCHING POLISH
   ======================================================================= */

/* Coverage stats under map hero copy */
.tg-map-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 1.25rem;
}
.tg-map-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 87, 34, 0.22);
  background: rgba(255, 87, 34, 0.06);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 239, 232, 0.72);
}
.tg-map-stat strong {
  font-size: 13px;
  font-weight: 600;
  color: #ff8a50;
  letter-spacing: 0.02em;
}
.tg-map-stat-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}
.tg-map-stat--live .tg-map-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5722;
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.85);
  animation: tg-blink 1.6s ease-in-out infinite;
}

/* Map frame: minimalist corner brackets */
.tg-map-enhanced .relative.border.rounded-lg.overflow-hidden {
  isolation: isolate;
}
.tg-map-frame {
  position: absolute;
  inset: 10px;
  z-index: 450;
  pointer-events: none;
  border-radius: 14px;
}
.tg-map-frame::before,
.tg-map-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(255, 87, 34, 0.55);
  border-style: solid;
  opacity: 0.85;
}
.tg-map-frame::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0 0;
}
.tg-map-frame::after {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px 0;
}

/* Subtle scan line across map (one pass on load) */
.tg-map-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  z-index: 460;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.7), transparent);
  opacity: 0;
  animation: tg-map-scan 2.8s ease-in-out 0.6s 1 both;
}
@keyframes tg-map-scan {
  0%   { top: -2px; opacity: 0; }
  8%   { opacity: 0.75; }
  92%  { opacity: 0.35; }
  100% { top: calc(100% + 2px); opacity: 0; }
}

/* List row synced with map hover (from map-enhancements.js) */
.bg-soil.section-padding .grid.grid-cols-2 > div.tg-area-active {
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.14), transparent 72%) !important;
  border-left: 2px solid rgba(255, 87, 34, 0.65);
  padding-left: 10px;
  transform: translateX(4px);
}
.bg-soil.section-padding .grid.grid-cols-2 > div.tg-area-active span:first-child {
  background: #ff5722 !important;
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.65);
  transform: scale(1.15);
}
.bg-soil.section-padding .grid.grid-cols-2 > div.tg-area-active span:last-child {
  color: #ff8a50 !important;
  font-weight: 600;
}

/* Map section: gentle entrance glow on the tile */
.tg-map-enhanced .lg\:col-span-7 .relative.border.rounded-lg.overflow-hidden {
  animation: tg-map-enter 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes tg-map-enter {
  from {
    box-shadow:
      0 0 0 1px rgba(255, 87, 34, 0.05) inset,
      0 30px 80px -20px rgba(0, 0, 0, 0.7),
      0 0 0 rgba(255, 87, 34, 0);
    opacity: 0.92;
  }
  to {
    opacity: 1;
  }
}

/* --- Site-wide minimalist accents --- */

/* Soft section rhythm: faint top hairline on alternating sections */
.section-padding + .section-padding {
  box-shadow: inset 0 1px 0 rgba(255, 87, 34, 0.07);
}
.bg-paper-warm.section-padding + .bg-soil.section-padding,
.bg-soil.section-padding + .bg-paper-warm.section-padding {
  box-shadow: inset 0 1px 0 rgba(255, 87, 34, 0.12);
}

/* Nav: extra glass depth when scrolled (class toggled in map-enhancements.js) */
nav.tg-nav-polish.tg-nav-scrolled {
  box-shadow: 0 12px 40px -28px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 87, 34, 0.08);
}
nav.tg-nav-polish .hidden.lg\:flex.items-center.gap-8 a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 6px;
  box-sizing: border-box;
}
nav.tg-nav-polish .hidden.lg\:flex.items-center.gap-8 a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5722, #ff8a50);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  opacity: 0.9;
}
nav.tg-nav-polish .hidden.lg\:flex.items-center.gap-8 a:hover::after {
  transform: scaleX(1);
}

/* Footer: thin brand accent */
footer {
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 72%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.45), transparent);
  pointer-events: none;
}

/* Paper sections: ultra-light dot grid for depth */
.bg-paper-warm.section-padding,
.bg-paper.section-padding {
  position: relative;
  overflow: hidden;
}
.bg-paper-warm.section-padding::before,
.bg-paper.section-padding::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 18, 8, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 92%);
  pointer-events: none;
  opacity: 0.55;
}

/* Mono labels in map sidebar */
.bg-soil.section-padding h3.font-mono.text-xs.uppercase {
  letter-spacing: 0.12em;
}

@media (prefers-reduced-motion: reduce) {
  .tg-map-scan,
  .tg-map-enhanced .lg\:col-span-7 .relative.border.rounded-lg.overflow-hidden {
    animation: none !important;
  }
  .tg-map-stat--live .tg-map-live-dot { animation: none !important; }
  nav.tg-nav-polish .hidden.lg\:flex.items-center.gap-8 a::after { transition: none; }
}

/* =======================================================================
   ROUND-5 — CROSS-DEVICE REVIEW (tap targets, contrast, safe areas)
   ======================================================================= */

/* Brighter muted copy on dark sections (audit flagged text-paper/60) */
.text-paper\/60 { color: rgba(243, 239, 232, 0.88) !important; }

/* Text-style orange links (“Läs mer →”, breadcrumbs) need 44px touch height */
a.text-orange-brand:not(.bg-orange-brand):not(.inline-flex.bg-orange-brand) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 2px;
  line-height: 1.35;
}

/* Mobile menu overlay links (audit: 36px tall) */
.bg-soil\/98 a {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* Small breadcrumb / inline nav links */
nav a.text-orange-brand,
nav a.text-soil,
ol.flex a,
.text-sm a.text-orange-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
}

/* Contact details: phone + email are the real contact; base + reply time are info */
[code-path="src/pages/ContactPage.tsx:37:15"] {
  display: grid !important;
  gap: 10px !important;
}

[code-path="src/pages/ContactPage.tsx:37:15"] > a {
  border: 1px solid rgba(255, 87, 34, 0.16) !important;
  background: #fff !important;
  box-shadow: 0 10px 28px -20px rgba(26, 18, 8, 0.35);
}

[code-path="src/pages/ContactPage.tsx:37:15"] > a .text-soil.font-medium {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

[data-tg-hidden-contact-info="1"] {
  display: none !important;
}

.tg-contact-meta {
  margin-top: 2px;
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: #f4f0ea;
  border: 1px solid rgba(26, 18, 8, 0.08);
}

.tg-contact-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tg-contact-meta-label {
  display: block;
  margin: 0 0 3px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 18, 8, 0.4);
}

.tg-contact-meta-value {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(26, 18, 8, 0.72);
}

@media (min-width: 520px) {
  .tg-contact-meta {
    padding: 16px 18px;
  }
  .tg-contact-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .tg-contact-meta-item + .tg-contact-meta-item {
    border-left: 1px solid rgba(26, 18, 8, 0.1);
    padding-left: 18px;
    margin-left: 18px;
  }
}
@media (max-width: 768px) {
  form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  form textarea,
  form select {
    font-size: 16px !important;
    min-height: 48px;
  }
  textarea {
    min-height: 120px;
    scroll-margin-top: 96px;
    scroll-margin-bottom: 45vh;
  }
  #kontakt-form,
  #kontakt-form * {
    overflow-anchor: none;
  }
  #kontakt-form {
    padding-bottom: min(34vh, 260px);
  }
  html.tg-mobile-input-active,
  html.tg-mobile-input-active *,
  html.tg-contact-textarea-focus,
  html.tg-contact-textarea-focus *,
  body.tg-mobile-input-active,
  body.tg-mobile-input-active *,
  body.tg-contact-textarea-focus,
  body.tg-contact-textarea-focus * {
    scroll-behavior: auto !important;
  }
  body.tg-contact-textarea-focus #kontakt-form textarea:focus {
    transform: translateZ(0);
  }
}

/* Map area list: taller rows on tablet / phone for touch */
@media (max-width: 1024px) {
  .bg-soil.section-padding .grid.grid-cols-2 > div {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: center;
  }
  .bg-soil.section-padding .leaflet-container {
    min-height: 280px;
  }
}

/* Cookie banner + scroll-top: respect iPhone home indicator */
#tg-cookie-banner {
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
}
#tg-cookie-banner button {
  min-height: 44px;
  padding: 10px 20px !important;
}
#tg-scroll-top {
  bottom: max(18px, calc(12px + env(safe-area-inset-bottom, 0px))) !important;
  left: max(18px, calc(12px + env(safe-area-inset-left, 0px))) !important;
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 640px) {
  #tg-scroll-top {
    width: 44px !important;
    height: 44px !important;
  }
}

/* =======================================================================
   ROUND-5b — Footer, breadcrumbs, cookie link tap targets
   ======================================================================= */

/* Footer columns use text-paper/60 without text-orange-brand */
footer a,
footer a[class*="text-paper/60"],
footer a[class*="text-paper/50"] {
  min-height: 44px !important;
  min-width: 44px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start;
  padding: 10px 12px !important;
  line-height: 1.35;
  box-sizing: border-box;
}

/* Breadcrumb rows (Hem › …) */
nav ol a,
ol.flex a,
ol.flex.items-center a,
.flex.items-center.gap-2 a[class*="text-paper"],
.flex.items-center.gap-1 a[class*="text-paper"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  box-sizing: border-box;
}

#tg-cookie-banner p a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 12px 8px;
  line-height: 1.35;
}

/* Footer contact rows: clean left-aligned icon column + text column. */
footer [class*="space-y"] > .flex.items-center.gap-3,
footer [class*="space-y"] > a.flex.items-center.gap-3 {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center !important;
  column-gap: 14px !important;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 4px 0 !important;
}

footer [class*="space-y"] > .flex.items-center.gap-3 svg,
footer [class*="space-y"] > a.flex.items-center.gap-3 svg {
  grid-column: 1;
  justify-self: center;
  align-self: center;
  flex: none !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

footer [class*="space-y"] > .flex.items-center.gap-3 a,
footer [class*="space-y"] > .flex.items-center.gap-3 span,
footer [class*="space-y"] > .flex.items-center.gap-3 p,
footer [class*="space-y"] > a.flex.items-center.gap-3 span,
footer [class*="space-y"] > a.flex.items-center.gap-3 p {
  grid-column: 2;
  justify-content: flex-start !important;
  text-align: left !important;
  min-width: 0;
  width: auto !important;
  padding: 0 !important;
  line-height: 1.35;
}

footer [class*="space-y"] > .flex.items-center.gap-3 a {
  min-height: 0 !important;
  min-width: 0 !important;
}

@media (max-width: 640px) {
  footer {
    padding-bottom: 112px !important;
  }

  footer .container-main > div:first-child {
    gap: 2rem !important;
  }

  footer [class*="space-y"] > .flex.items-center.gap-3,
  footer [class*="space-y"] > a.flex.items-center.gap-3 {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px !important;
  }
}

/* Carousel / hero indicator dots (role=button) — expand hit area on touch */
@media (max-width: 768px) {
  button[aria-label*="slide" i],
  button[aria-label*="Slide" i],
  [role="button"][aria-label*="slide" i] {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 12px !important;
  }
}

/* =======================================================================
   ROUND-5d — Form submit CTA: less dominant on mobile (still 44px tap)
   ======================================================================= */

@media (max-width: 768px) {
  form button.bg-orange-brand,
  form button[type="submit"] {
    width: auto !important;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 22px !important;
    margin-inline: auto;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
}

@media (min-width: 769px) {
  form button.bg-orange-brand.w-full,
  form button[type="submit"].w-full {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 44px;
  }
}

/* ROUND-6 - footer contact alignment + mobile social dock spacing */
footer a.flex.items-center.gap-3[href^="tel:"],
footer a.flex.items-center.gap-3[href^="mailto:"],
footer span.flex.items-center.gap-3 {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 14px !important;
  align-items: center !important;
  justify-content: start !important;
  width: 100%;
  max-width: 100%;
  min-height: 44px !important;
  min-width: 0 !important;
  padding: 4px 0 !important;
  text-align: left !important;
}

footer a.flex.items-center.gap-3[href^="tel:"] svg,
footer a.flex.items-center.gap-3[href^="mailto:"] svg,
footer span.flex.items-center.gap-3 svg {
  grid-column: 1;
  justify-self: center;
  align-self: center;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

footer a.flex.items-center.gap-3[href^="tel:"] > :not(svg),
footer a.flex.items-center.gap-3[href^="mailto:"] > :not(svg),
footer span.flex.items-center.gap-3 > :not(svg) {
  grid-column: 2;
  min-width: 0;
  text-align: left !important;
  line-height: 1.35;
}

/* Contact areas: middot flow instead of chips */
[code-path="src/pages/ContactPage.tsx:89:17"] {
  display: block !important;
  line-height: 1.7;
}
[code-path="src/pages/ContactPage.tsx:91:21"] {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  color: rgba(26, 18, 8, 0.62) !important;
  font-size: 0.95rem !important;
}
.tg-areas-county {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(26, 18, 8, 0.62);
}

@media (max-width: 640px) {
  footer {
    padding-bottom: 112px !important;
  }

  #tg-scroll-top {
    bottom: max(18px, calc(12px + env(safe-area-inset-bottom, 0px))) !important;
    left: max(18px, calc(12px + env(safe-area-inset-left, 0px))) !important;
  }

  body:has(#tg-cookie-banner) #tg-scroll-top {
    display: none !important;
  }

  body.tg-mobile-input-active #tg-scroll-top,
  body.tg-mobile-input-active #tg-social-rail,
  body.tg-footer-visible #tg-scroll-top,
  body.tg-footer-visible #tg-social-rail {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  footer a.flex.items-center.gap-3[href^="tel:"],
  footer a.flex.items-center.gap-3[href^="mailto:"],
  footer span.flex.items-center.gap-3 {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px !important;
  }
}


/* Close X clear of hamburger */
@media (max-width: 1023px) {
  .tg-lb-close,
  #tg-lb .tg-lb-close {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(56px, calc(10px + env(safe-area-inset-right))) !important;
  }
}
