/* MATRA.MK — Light boxed · MAREKO template · MATRA red theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  --green-bright: #ef4444;
  --green-light: #f87171;
  --green-nav: #c41e24;
  --green-nav-dark: #9b1619;
  --green-banner: #d41e24;
  --green-soft: #fce8e9;
  --green-glow: rgba(227, 30, 36, 0.35);
  --green-bg: #a01418;
  --green-bg-light: #d44b4f;
  --green-bg-lime: #e8888b;
  --green-bg-dark: #6e0f12;
  --green-bg-deep: #4a090b;
  --white: #ffffff;
  --off-white: #fdf5f5;
  --text: #1a2836;
  --text-muted: #4a5f6e;
  --text-light: #728090;
  --border: #f0dede;
  --border-dark: #e8caca;
  --shadow-box: 0 20px 56px rgba(74, 9, 11, 0.28), 0 6px 20px rgba(74, 9, 11, 0.14);
  --shadow-soft: 0 8px 24px rgba(160, 20, 24, 0.1);
  --shadow-hover: 0 12px 32px rgba(227, 30, 36, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --font: 'Outfit', system-ui, sans-serif;
  --font-display: 'Syne', 'Outfit', sans-serif;
  --box-width: 1000px;
  --nav-height: 52px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease);
  --font-base: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: var(--font-base);
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  min-height: 100dvh;
  background-color: var(--green-bg);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 95% 75% at 50% 18%, rgba(232, 136, 139, 0.92) 0%, rgba(212, 75, 79, 0.55) 32%, transparent 68%),
    radial-gradient(ellipse 70% 55% at 8% 92%, rgba(110, 15, 18, 0.72) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 96% 88%, rgba(74, 9, 11, 0.68) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 92% 8%, rgba(212, 30, 36, 0.45) 0%, transparent 52%),
    linear-gradient(175deg, #4a090b 0%, #a01418 18%, #d44b4f 42%, #d41e24 62%, #9b1619 82%, #4a090b 100%);
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
  background-size: 160px 160px, auto, auto, auto, auto, auto;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Soft ambient glow — light olive, not dark */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: blobFloat 16s ease-in-out infinite alternate;
}

body::before {
  width: 480px;
  height: 480px;
  background: rgba(232, 136, 139, 0.55);
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
}

body::after {
  width: 360px;
  height: 360px;
  background: rgba(110, 15, 18, 0.45);
  bottom: -80px;
  right: -60px;
  animation-delay: -8s;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, 30px) scale(1.08); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-nav); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-nav-dark); }

/* ─── BOXED SHELL ─── */
.site-box {
  position: relative;
  z-index: 1;
  width: calc(100% - 1.25rem);
  max-width: var(--box-width);
  margin: 0.75rem auto 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-box);
  border: 1px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  animation: boxReveal 0.7s var(--ease) both;
}

@keyframes boxReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .site-box { margin: 1.25rem auto 2rem; width: calc(100% - 2.5rem); }
}

/* ─── LOGO ─── */
.site-top { background: var(--white); }

.logo-area {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.logo {
  display: inline-block;
  transition: transform var(--transition), opacity var(--transition);
  text-decoration: none;
}

.logo:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.logo-img {
  height: 64px;
  width: auto;
  max-width: min(100%, 340px);
  display: block;
  object-fit: contain;
}

.logo-img-sm {
  height: 48px;
  width: auto;
  max-width: 180px;
  margin: 0 auto 0.65rem;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img { height: 72px; max-width: 380px; }
  .logo-img-sm { height: 52px; }
}

/* ─── NAV ─── */
.main-nav-wrap {
  background: linear-gradient(135deg, var(--green-nav) 0%, var(--green-nav-dark) 100%);
  position: relative;
}

.main-nav-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-light), transparent);
  opacity: 0.6;
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding: 0 0.75rem;
}

.main-nav {
  display: none;
  flex: 1;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.main-nav a.active {
  color: var(--green-nav-dark);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.search-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.search-toggle:hover,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.menu-toggle { position: relative; z-index: 1002; }

.hamburger { width: 18px; height: 12px; position: relative; }
.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 5px; }
.hamburger span:nth-child(3) { top: 10px; }

.menu-toggle.open .hamburger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle.open .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle.open .hamburger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--green-nav-dark);
  padding: 0.5rem;
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; animation: slideDown 0.3s var(--ease); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav a.active {
  background: var(--white);
  color: var(--green-nav-dark);
}

/* ─── HERO SLIDER ─── */
.hero-slider {
  position: relative;
  height: min(56vw, 400px);
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: kenBurns 10s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.hero-price-box {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 28px rgba(30, 60, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  max-width: 220px;
  text-align: center;
  transition: all var(--transition);
  animation: floatIn 0.8s var(--ease-bounce) 0.3s both;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-price-box:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.hero-price-box:hover .price-text-label {
  text-decoration-color: var(--green-bright);
}

.hero-price-box:hover .price-arrow {
  transform: translateY(-3px);
  color: var(--green-nav);
}

.hero-price-box .logo-img-sm {
  height: 44px;
  width: auto;
  margin: 0 auto 0.65rem;
}

.hero-price-box .price-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero-price-box .price-text-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--green-nav);
  transition: text-decoration-color var(--transition);
}

.hero-price-box .price-arrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-nav);
  line-height: 1;
  transition: transform var(--transition), color var(--transition);
}

/* Hero footer — bottom bar + dots */
.hero-footer {
  position: absolute;
  bottom: 1.15rem;
  left: 1rem;
  right: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
}

.hero-footer > * {
  pointer-events: auto;
}

.hero-bottom-bar {
  position: static;
  transform: none;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  max-width: calc(100% - 5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(30, 60, 20, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
  animation: floatIn 0.8s var(--ease) 0.5s both;
}

.slider-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.25rem;
  z-index: 5;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(30, 60, 20, 0.08);
}

.slider-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-nav);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.slider-btn:hover {
  background: var(--white);
  transform: scale(1.08);
  color: var(--green-bright);
  box-shadow: 0 4px 16px rgba(114, 212, 46, 0.25);
}

.slider-btn:active {
  transform: scale(0.96);
}

.slider-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.55rem;
  background: rgba(20, 40, 15, 0.35);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--green-bright);
  width: 22px;
  box-shadow: 0 0 10px var(--green-glow);
}

/* ─── GREEN BANNER ─── */
.green-banner {
  background: linear-gradient(135deg, var(--green-banner) 0%, var(--green-nav) 100%);
  color: var(--white);
  text-align: center;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.green-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ─── UTILITY BAR ─── */
.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-light);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green-nav); }

.font-size-controls { display: flex; align-items: center; gap: 4px; }

.font-size-btn {
  width: 30px;
  height: 28px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  transition: all var(--transition);
}

.font-size-btn:hover,
.font-size-btn.active {
  border-color: var(--green-nav);
  color: var(--green-nav);
  background: var(--green-soft);
  transform: scale(1.05);
}

/* ─── MAIN ─── */
main { background: var(--white); }

.page-body { padding: 1.75rem 1.5rem 2rem; }

.page-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--green-bright), transparent) 1;
  animation: fadeUp 0.6s var(--ease) both;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.content-area h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-nav);
  margin: 1.75rem 0 0.65rem;
}

.content-area h2:first-child { margin-top: 0; }

.content-area p,
.content-area li {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 0.65rem;
}

.content-area ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.content-area ol li { margin-bottom: 0.4rem; }

.sidebar { display: none; }

.sidebar-nav {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  box-shadow: var(--shadow-soft);
}

.sidebar-nav a {
  display: block;
  padding: 0.8rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.sidebar-nav a:last-child { border-bottom: none; }

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--green-nav);
  background: var(--green-soft);
  padding-left: 1.35rem;
}

.sidebar-nav a.active {
  font-weight: 700;
  border-left: 3px solid var(--green-bright);
}

/* ─── DOCUMENTS ─── */
.doc-list { display: flex; flex-direction: column; gap: 0.65rem; }

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--off-white);
  color: inherit;
  transition: all var(--transition);
}

.doc-item:hover {
  border-color: var(--green-bright);
  background: var(--green-soft);
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.doc-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: #dc2626;
}

.doc-info h3 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

/* ─── PARTNERS TABLE ─── */
.partners-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.partners-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.partners-table th {
  background: linear-gradient(180deg, var(--green-soft) 0%, #f5dede 100%);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-table td {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  border-top: 1px solid var(--border);
  transition: background var(--transition);
}

.partners-table tbody tr:nth-child(even) td {
  background: rgba(238, 248, 232, 0.45);
}

.partners-table tbody tr:hover td {
  background: var(--green-soft);
}

.partners-table .num-col {
  width: 52px;
  text-align: center;
  color: var(--green-nav);
  font-weight: 700;
}

.partner-name-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.partner-name-cell > span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.city-chip {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green-nav-dark);
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}

.contact-box:hover { box-shadow: var(--shadow-hover); }

.contact-box-header {
  background: linear-gradient(135deg, var(--green-soft) 0%, #f8e0e0 100%);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.contact-box-body { padding: 1.15rem 1.25rem; }

.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.contact-row:last-child { border-bottom: none; }
.contact-label { font-weight: 600; color: var(--text); }
.contact-value { color: var(--text-muted); }
.contact-value a { color: var(--green-nav); font-weight: 500; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font);
  font-size: 0.92rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: all var(--transition);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(114, 212, 46, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 46px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-nav) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
  color: var(--white);
}

.form-success {
  display: none;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--green-soft);
  border-radius: var(--radius-md);
  color: var(--green-nav);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-success.show { display: block; animation: fadeUp 0.4s var(--ease); }

/* Contact quick actions (mobile-first) */
.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.contact-action--phone {
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--white) 100%);
  color: var(--green-nav-dark);
}

.contact-action--phone:hover {
  background: var(--green-soft);
  color: var(--green-nav);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-action--email {
  background: var(--white);
  color: var(--text-muted);
}

.contact-action--email:hover {
  border-color: var(--green-bright);
  color: var(--green-nav);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 850;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-light) 0%, var(--green-nav) 55%, var(--green-nav-dark) 100%);
  color: var(--white);
  box-shadow:
    0 10px 28px rgba(58, 110, 34, 0.38),
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.88);
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.35s var(--ease-bounce),
    box-shadow 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow:
    0 14px 36px rgba(58, 110, 34, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

.back-to-top svg {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

/* ─── HOME INTRO ─── */
.home-intro {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.home-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

.home-intro-logo {
  width: auto;
  height: clamp(76px, 12vw, 96px);
  max-width: min(100%, 380px);
  margin: 0 auto 1.25rem;
  display: block;
  object-fit: contain;
}

/* ─── BRAND BAR (compact logos, homepage footer area) ─── */
.brand-bar {
  padding: 1.35rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.brand-bar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.brand-bar-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.35rem;
  width: min(100%, 580px);
  margin: 0 auto;
  padding: 1.15rem 1.65rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.brand-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  flex: 1 1 auto;
  min-width: 0;
}

.brand-bar-item:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.brand-bar-item img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-bar-item:first-child img {
  max-height: clamp(52px, 8.5vw, 64px);
  max-width: min(75vw, 320px);
}

.brand-bar-item--recycle img {
  max-height: clamp(72px, 11vw, 88px);
  max-width: min(55vw, 180px);
  background: var(--white);
  border-radius: var(--radius-sm);
}

.brand-bar-divider {
  width: 1px;
  height: clamp(42px, 7vw, 50px);
  background: var(--border-dark);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .brand-bar-inner {
    gap: 0.85rem 1rem;
    padding: 1rem 1.15rem;
  }

  .brand-bar-item:first-child img {
    max-height: 56px;
    max-width: min(82vw, 300px);
  }

  .brand-bar-item--recycle img {
    max-height: 76px;
    max-width: min(52vw, 165px);
  }
}

@media (max-width: 380px) {
  .brand-bar-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .brand-bar-divider {
    width: 56px;
    height: 1px;
  }

  .brand-bar-item:first-child img {
    max-width: min(85vw, 280px);
  }

  .brand-bar-item--recycle img {
    max-height: 82px;
    max-width: min(85vw, 180px);
  }
}

.home-intro-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(114, 212, 46, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(114, 212, 46, 0); }
}

/* ─── FOOTER ─── */
.site-footer {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  border-top: 1px solid var(--border);
  padding: 0 1.5rem 1.25rem;
}

.footer-accent {
  height: 3px;
  margin: 0 -1.5rem 0;
  background: linear-gradient(90deg, var(--green-nav), var(--green-bright), var(--green-nav));
  opacity: 0.85;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.25rem 0;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--green-nav);
  transform: translateX(2px);
}

.footer-credit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.74rem;
  line-height: 1.4;
}

/* ─── SEARCH ─── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.search-overlay.open { opacity: 1; visibility: visible; }

.search-overlay input {
  width: 100%;
  max-width: 480px;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-family: var(--font);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-pill);
  outline: none;
  color: var(--text);
  transition: all var(--transition);
}

.search-overlay input:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(114, 212, 46, 0.15);
}

.search-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.search-close:hover {
  background: var(--green-soft);
  color: var(--green-nav);
  transform: rotate(90deg);
}

.search-results {
  margin-top: 1.25rem;
  width: 100%;
  max-width: 480px;
  max-height: 50vh;
  overflow-y: auto;
}

.search-results a {
  display: block;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.search-results a:hover {
  background: var(--green-soft);
  color: var(--green-nav);
  padding-left: 1.25rem;
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */

/* Mobile hero — polished layout */
@media (max-width: 767px) {
  .site-box {
    width: calc(100% - 0.75rem);
    margin: 0.5rem auto 1rem;
    border-radius: var(--radius-lg);
  }

  .logo-area { padding: 0.75rem 1rem; }

  .logo-img {
    height: 54px;
    max-width: min(100%, 270px);
  }

  .hero-slider {
    height: 56vh;
    min-height: 300px;
    max-height: none;
  }

  .hero-slide img {
    transform: scale(1.02);
    animation: none;
  }

  .hero-price-box {
    top: 0.75rem;
    left: 0.75rem;
    max-width: min(62%, 185px);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.93);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
      0 6px 24px rgba(30, 60, 20, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 1);
  }

  .hero-price-box .logo-img-sm {
    height: 40px;
    max-width: 100%;
    margin-bottom: 0.6rem;
  }

  .hero-price-box .price-text {
    gap: 0.35rem;
  }

  .hero-price-box .price-text-label {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    line-height: 1.42;
    text-decoration-thickness: 2px;
  }

  .hero-price-box .price-arrow {
    font-size: 1.05rem;
  }

  .slider-controls {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
  }

  .slider-btn svg {
    width: 14px;
    height: 14px;
  }

  .hero-footer {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
  }

  .hero-bottom-bar {
    display: block;
    flex: none;
    max-width: 88%;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(30, 60, 20, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
    text-align: center;
  }

  .slider-dots {
    position: static;
    flex-shrink: 0;
    padding: 0.35rem 0.55rem;
    background: rgba(20, 40, 15, 0.4);
  }

  .slider-dot {
    width: 6px;
    height: 6px;
  }

  .slider-dot.active {
    width: 18px;
  }

  .green-banner {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    padding: 0.7rem 0.65rem;
    line-height: 1.4;
  }

  .utility-bar {
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .hero-price-box {
    max-width: min(64%, 175px);
    padding: 0.8rem 0.9rem;
  }

  .hero-price-box .price-text-label {
    font-size: 0.72rem;
  }
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .hero-slider { height: 400px; }
  .hero-price-box { top: 1.5rem; left: 1.5rem; padding: 1.25rem 1.5rem; }
  .hero-price-box .logo-img-sm { height: 50px; }
  .hero-price-box .price-text-label { font-size: 0.85rem; }

  .page-layout {
    grid-template-columns: 1fr 230px;
    gap: 2rem;
  }

  .sidebar { display: block; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-credit {
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
    padding-top: 0;
    border-top: none;
    min-width: 220px;
  }
  .page-body { padding: 2rem 1.75rem 2.5rem; }
}

@media (min-width: 900px) {
  .main-nav a { padding: 0.55rem 1rem; font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════
   12 DESIGN ENHANCEMENTS
   ═══════════════════════════════════════════ */

/* 9 — Subtle recycling pattern inside white areas */
.main-pattern {
  position: relative;
  isolation: isolate;
}

.main-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='%234d8a2e' d='M30 8l4 7h-8l4-7zm0 44l-4-7h8l-4 7zM8 30l7-4v8l-7-4zm44 0l-7 4v-8l7 4z'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.main-pattern > * { position: relative; z-index: 1; }

/* 3 — Green accent line system */
.section-heading {
  position: relative;
  padding-left: 0.9rem;
}

.section-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green-bright), var(--green-nav));
}

.site-footer {
  position: relative;
}

/* 1 — Trust stat strip */
.trust-strip {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-bright);
}

.trust-icon {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-nav);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* 4 — Hero slide captions */
.hero-caption {
  position: absolute;
  bottom: 5.5rem;
  left: 1.25rem;
  z-index: 4;
  max-width: min(75%, 420px);
  margin: 0;
  padding: 0.55rem 1.1rem 0.55rem 0.95rem;
  background: rgba(20, 40, 15, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  border-radius: var(--radius-pill);
  border-left: 3px solid var(--green-bright);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.hero-caption.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 5 — Nav hover micro-interactions */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 55%;
}

.main-nav a.active::after {
  background: var(--green-nav);
}

.mobile-nav a {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background var(--transition), color var(--transition);
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.3s; }

/* 12 — Nav shimmer on load (once) */
.main-nav-wrap {
  overflow: hidden;
}

.main-nav-wrap.nav-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: navShimmer 1.4s ease 0.4s 1 forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes navShimmer {
  to { left: 130%; }
}

/* 6 — Upgraded document cards */
.doc-item {
  position: relative;
  overflow: hidden;
  align-items: center;
}

.doc-stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green-nav);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.doc-item:hover .doc-stripe {
  transform: scaleY(1);
}

.doc-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.doc-year {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-nav);
  background: var(--green-soft);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
}

.doc-download {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-nav);
  transition: all var(--transition);
  margin-left: auto;
}

.doc-item:hover .doc-download {
  background: var(--green-nav);
  border-color: var(--green-nav);
  color: var(--white);
  transform: translateY(-2px);
}

/* 8 — Contact visual */
.contact-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.contact-visual-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-visual-info {
  flex: 1;
  min-width: 0;
}

.map-pin {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-nav);
  box-shadow: 0 4px 16px rgba(77, 138, 46, 0.2);
  animation: pinBounce 2.5s ease-in-out infinite;
}

.map-pin svg {
  width: 28px;
  height: 28px;
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.contact-visual-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.contact-visual-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.contact-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  background: var(--off-white);
}

.contact-map {
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(100% + 72px);
  top: -56px;
  border: 0;
}

@media (max-width: 767px) {
  .contact-visual-header {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
  }

  .contact-visual {
    padding: 1rem;
    gap: 0.85rem;
  }

  .map-pin {
    width: 46px;
    height: 46px;
  }

  .map-pin svg {
    width: 22px;
    height: 22px;
  }

  .contact-visual-text {
    font-size: 0.95rem;
  }

  .contact-address {
    font-size: 0.84rem;
    line-height: 1.55;
    word-break: break-word;
  }

  .contact-map-wrap {
    aspect-ratio: 1 / 1;
    min-height: 240px;
    border-radius: var(--radius-md);
  }

  .contact-map {
    top: -48px;
    height: calc(100% + 64px);
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-box-body {
    padding: 1rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.7rem 0;
  }

  .contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
  }

  .contact-value {
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .contact-value a[href^="tel:"],
  .contact-value a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.1rem 0;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
  }

  .form-group textarea {
    min-height: 140px;
  }

  .btn-primary {
    width: 100%;
  }

  body[data-page="contact"] .page-body {
    padding: 1.25rem 1rem 1.75rem;
  }

  body[data-page="contact"] .page-title {
    font-size: 1.45rem;
    margin-bottom: 1.15rem;
  }

  body[data-page="contact"] .footer-credit {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .contact-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* 2 — Staggered fade-up (delay set via JS inline style) */
.fade-up.visible {
  transition-delay: 0s !important;
}

.main-nav a.active::after {
  display: none;
}

/* 10 — Page transition flash */
body.page-enter .site-box {
  opacity: 0;
  transform: translateY(12px);
}

body.page-enter-active .site-box {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

body.page-leaving .site-box {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

body.page-leaving::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(114, 212, 46, 0.15), rgba(255, 255, 255, 0.35));
  pointer-events: none;
  animation: pageFlash 0.28s ease forwards;
}

@keyframes pageFlash {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 767px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-caption {
    bottom: 5.5rem;
    left: 0.75rem;
    max-width: 82%;
    font-size: 0.72rem;
    padding: 0.45rem 0.85rem;
  }
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
