/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(/416d91365b44e4b4f477.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(/8f2c4d11474275fbc161.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(/2b3e1faf89f94a483539.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* ==========================================================================
   Astrondo light theme
   Brand palette taken from the SVG logos:
   navy #17253f · teal #3a9ca8 · orange #e8792b · blue #0b6aac · mint #dbeceb
   ========================================================================== */

:root {
  --navy: #17253f;
  --navy-soft: #33415a;
  --teal: #3a9ca8;
  --teal-dark: #2c7d88;
  --orange: #e8792b;
  --orange-dark: #cf6410;
  --blue: #0b6aac;

  --ink: #17253f;      /* headings */
  --body: #4c5a6e;     /* paragraph text */
  --muted: #7c8798;    /* secondary text */

  --bg: #f5f8fb;       /* page background */
  --bg-alt: #eef3f8;   /* alternating section */
  --surface: #ffffff;  /* cards */
  --mint: #dbeceb;     /* pale teal fill */
  --line: #e3eaf1;     /* borders */

  --shadow: 0 1px 2px rgba(23, 37, 63, 0.04), 0 8px 24px rgba(23, 37, 63, 0.06);
  --shadow-lg: 0 12px 40px rgba(23, 37, 63, 0.12);
  --radius: 16px;
  --maxw: 1160px;
  --font: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; }

a { color: var(--teal-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ------------------------------------------------------------------ Nav */
header { position: sticky; top: 0; z-index: 1000; }

.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo a { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 38px; width: auto; display: block; }

.nav-menu { display: flex; list-style: none; gap: 0.35rem; align-items: center; }

.nav-menu a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover { color: var(--teal-dark); background: var(--bg-alt); }
.nav-menu a.active { color: var(--teal-dark); background: var(--mint); }

/* --------------------------------------------------------------- Buttons */
.cta-buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero .cta-buttons { justify-content: center; }

.btn {
  padding: 0.8rem 1.7rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
  display: inline-block;
  cursor: pointer;
}

.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(232, 121, 43, 0.28); }
.btn.primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(232, 121, 43, 0.34); }

.btn.secondary { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn.secondary:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

/* ------------------------------------------------------------------ Hero */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(58, 156, 168, 0.16), transparent 70%),
    radial-gradient(900px 400px at 85% 0%, rgba(232, 121, 43, 0.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-content { max-width: 760px; margin: 0 auto; }
.hero-mark { height: 128px; width: auto; margin-bottom: 1.5rem; }

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.hero-content h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-size: 1.12rem;
  color: var(--body);
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------- Sections */
section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -0.02em; }
.section-head h2::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  margin: 0.9rem auto 0;
}
.section-head p { margin-top: 1rem; color: var(--body); font-size: 1.08rem; }

/* Standalone section h2 (used on inner pages) */
.subpage section > .container > h2:first-child,
section.services h2,
section.about h2 { }

/* Inner pages clear nothing extra (nav is sticky, not fixed) */
.subpage { padding-top: 1rem; }

/* --------------------------------------------------------------- Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--surface);
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(58, 156, 168, 0.4); }

.service-icon {
  font-size: 1.8rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint);
  border-radius: 14px;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--body); }

/* --------------------------------------------------------------- Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(58, 156, 168, 0.45); }

.product-logo { height: 84px; width: auto; margin-bottom: 1.2rem; align-self: flex-start; }
.product-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.product-card p { color: var(--body); margin-bottom: 1.2rem; flex: 1; }
.product-link { color: var(--orange-dark); font-weight: 700; margin-top: auto; }
.product-card:hover .product-link { color: var(--orange); }

/* ---------------------------------------------------------- Product pages */
.product-hero {
  text-align: center;
  padding: 4.5rem 1.5rem 4rem;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(58, 156, 168, 0.15), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.product-hero .container { max-width: 820px; }
.product-hero-logo { height: 132px; width: auto; margin-bottom: 1.4rem; }
.product-hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.product-hero h2 { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--teal-dark); font-weight: 600; margin-bottom: 1.3rem; }
.product-hero p { font-size: 1.12rem; color: var(--body); margin-bottom: 2rem; }

.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--teal-dark); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.feature-card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mint); border-radius: 12px; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--body); }
.feature-card code {
  background: var(--bg-alt);
  padding: 1px 6px; border-radius: 5px;
  color: var(--navy); font-size: 0.9em;
  border: 1px solid var(--line);
}

/* Simple prose blocks on product pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--body); font-size: 1.08rem; margin-bottom: 1.2rem; }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 0.8rem; }
.prose ul { margin: 0 0 1.2rem 1.2rem; color: var(--body); }
.prose li { margin-bottom: 0.5rem; }

/* Callout band */
.cta-band { text-align: center; }
.cta-band .container { max-width: 720px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--body); font-size: 1.1rem; margin-bottom: 1.8rem; }
.cta-band .cta-buttons { justify-content: center; }

/* ------------------------------------------------------------------ About */
.about-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-text p { margin-bottom: 1.3rem; color: var(--body); font-size: 1.08rem; }
.about-stats { display: flex; flex-direction: column; gap: 1rem; }
.stat {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.stat h3 { font-size: 1.4rem; color: var(--teal-dark); margin-bottom: 0.15rem; }
.stat p { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

/* ----------------------------------------------------------------- Footer */
footer {
  background: var(--navy);
  color: #c7d2e0;
  text-align: center;
  padding: 2.5rem 0;
}
footer .container { display: flex; flex-direction: column; gap: 0.5rem; }
footer img { height: 34px; width: auto; margin: 0 auto 0.8rem; }
footer p { color: #9fb0c4; font-size: 0.95rem; }
footer a { color: #bcd3d8; }

/* ================================================================ SeaRoute
   Demo widget: light panel around a Leaflet map                           */
.demo-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
  color: var(--body);
  font-size: 1.08rem;
}

.srd { display: grid; gap: 1.4rem; }

.srd-map {
  position: relative;
  height: 520px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #cfe0e6;         /* sea tone behind empty tiles */
  box-shadow: var(--shadow);
  isolation: isolate;
}

.srd-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
  border: 1px solid var(--teal);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  pointer-events: none;
  box-shadow: var(--shadow);
}

.srd-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.srd-hint { color: var(--body); margin-bottom: 1rem; min-height: 1.5rem; }

.srd-presets { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }

.srd-btn {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.srd-btn:hover { background: var(--teal); color: #fff; transform: translateY(-1px); }

.srd-reset { border-color: var(--line); color: var(--muted); margin-left: auto; }
.srd-reset:hover { background: var(--bg-alt); color: var(--navy); }

.srd-replay { border-color: var(--orange); color: var(--orange-dark); }
.srd-replay:hover { background: var(--orange); color: #fff; }

.srd-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }
.srd-stats > div {
  flex: 1 1 120px;
  text-align: center;
  padding: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.srd-stats span { display: block; font-size: 1.7rem; font-weight: 700; color: var(--navy); }
.srd-stats span small { font-size: 1rem; }
.srd-stats label { display: block; margin-top: 0.25rem; font-size: 0.85rem; color: var(--muted); }

.srd-foot { margin-top: 1.2rem; font-size: 0.85rem; color: var(--muted); }

.srd-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--mint);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: srd-spin 0.8s linear infinite;
  margin: 0.5rem 0;
}
@keyframes srd-spin { to { transform: rotate(360deg); } }

.srd-map .leaflet-control-attribution { background: rgba(255, 255, 255, 0.8); color: #55606f; }
.srd-map .leaflet-control-attribution a { color: var(--teal-dark); }

/* ============================================================ AngloTiles
   Side-by-side tile comparison (raw OpenStreetMap vs AngloTiles)           */
.compare-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.2rem;
  color: var(--body);
  font-size: 1.08rem;
}

.anglo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.anglo-pane {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #cfe0e6;   /* sea tone behind empty tiles */
  isolation: isolate;    /* keep Leaflet controls below the sticky navbar */
}

.anglo-map { height: 440px; width: 100%; }

.anglo-label {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 5px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
  pointer-events: none;
}
.anglo-label.is-anglo { color: var(--teal-dark); border-color: var(--teal); }

.anglo-hint { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

.anglo-map .leaflet-control-attribution { background: rgba(255, 255, 255, 0.8); color: #55606f; }
.anglo-map .leaflet-control-attribution a { color: var(--teal-dark); }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 760px) {
  .anglo-compare { grid-template-columns: 1fr; }
  .anglo-map { height: 340px; }
}

@media (max-width: 820px) {
  .about-content { grid-template-columns: 1fr; }
  .about-stats { flex-direction: row; flex-wrap: wrap; }
  .about-stats .stat { flex: 1 1 150px; }
}

@media (max-width: 680px) {
  .nav-container { flex-wrap: wrap; }
  .nav-menu { gap: 0.1rem; }
  .nav-menu a { padding: 0.4rem 0.6rem; font-size: 0.9rem; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .hero .cta-buttons, .cta-band .cta-buttons { align-items: center; }
  .srd-map { height: 400px; }
  .srd-reset { margin-left: 0; }
}

