/* ==========================================================================
   Test24 — Laboratory Glassware & Science Supplies
   Design system
   ========================================================================== */

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

:root {
  /* Brand palette — laboratory blue + Bunsen-flame amber */
  --primary:      #1b4965;
  --primary-mid:  #2a6f97;
  --primary-dark: #0e2a3d;
  --accent:       #ff6b35;
  --accent-mid:   #ff8c5a;

  /* Neutrals */
  --bg:         #f6faf9;
  --surface:    #ffffff;
  --border:     #dfe8e7;
  --text:       #11262b;
  --text-soft:  #4a5f64;
  --text-muted: #86999d;

  /* Typography scale */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --radius:      12px;
  --radius-lg:   24px;

  --shadow-sm: 0 2px 10px rgba(14, 42, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 42, 61, 0.12);
  --shadow-lg: 0 24px 60px rgba(14, 42, 61, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
p  { font-family: var(--font-body); font-size: clamp(0.95rem, 1.5vw, 1.1rem); line-height: 1.75; color: var(--text-soft); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.section { padding-block: var(--section-pad); }
.section-alt { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--surface);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--primary);
  background: rgba(27, 73, 101, 0.05);
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  padding-block: 1.1rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled {
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow-sm);
  padding-block: 0.65rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--surface);
  transition: color 0.3s ease;
  z-index: 1100;
}
.site-header.scrolled .logo,
.site-header.solid .logo { color: var(--primary-dark); }

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent-mid));
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 7px 13px;
  background: #fff;
  border-radius: 0 0 6px 6px;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--surface);
  position: relative;
  padding-block: 0.3rem;
  transition: color 0.3s ease;
}
.site-header.scrolled .nav-links a,
.site-header.solid .nav-links a { color: var(--primary-dark); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.site-header.scrolled .nav-links a[aria-current="page"],
.site-header.solid .nav-links a[aria-current="page"] { color: var(--accent); }

.nav-cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  z-index: 1100;
  position: relative;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--surface);
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .hamburger span,
.site-header.solid .hamburger span { background: var(--primary-dark); }
.nav-open .hamburger span { background: var(--primary-dark) !important; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.65,0,.35,1), visibility 0s linear 0.4s;
  z-index: 1050;
}
.nav-open .mobile-nav {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.4s cubic-bezier(.65,0,.35,1), visibility 0s linear 0s;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary-dark);
  font-weight: 600;
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .nav-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(155deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-mid) 100%);
  overflow: hidden;
  padding-block-start: 6rem;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero::before {
  width: 460px; height: 460px;
  border: 2px solid rgba(255,255,255,0.08);
  top: -120px; right: -120px;
}
.hero::after {
  width: 280px; height: 280px;
  border: 2px solid rgba(255,107,53,0.18);
  bottom: -80px; left: -60px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-copy .eyebrow { color: var(--accent-mid); }
.hero-copy h1 { color: #fff; }
.hero-copy p { color: rgba(255,255,255,0.82); max-width: 520px; margin-block: 1.4rem 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  position: relative;
  height: 320px;
  display: none;
}
.tube-rack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.1rem;
}
.tube {
  width: 34px;
  border-radius: 17px 17px 8px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
}
.tube::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-radius: 0 0 8px 8px;
}
.tube.t1 { height: 210px; } .tube.t1::after { height: 40%; background: var(--accent); }
.tube.t2 { height: 270px; } .tube.t2::after { height: 55%; background: #7fd8be; }
.tube.t3 { height: 180px; } .tube.t3::after { height: 70%; background: var(--accent-mid); }
.tube.t4 { height: 240px; } .tube.t4::after { height: 30%; background: #7fd8be; }
.tube.t5 { height: 200px; } .tube.t5::after { height: 48%; background: var(--accent); }

@media (min-width: 1024px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual { display: block; }
}

.scroll-cue {
  display: none;
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .scroll-cue { display: flex; }
}
.scroll-cue .line { width: 1px; height: 36px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* page hero (interior pages) */
.page-hero {
  min-height: 52svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: linear-gradient(155deg, var(--primary-dark) 0%, var(--primary) 70%);
  padding-block: 8rem 3.5rem;
  overflow: hidden;
}
.page-hero .hero-grid { mask-image: radial-gradient(circle at 80% 10%, black, transparent 65%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p.lead { color: rgba(255,255,255,0.82); max-width: 560px; margin-top: 1.2rem; }
.breadcrumb {
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
.breadcrumb span { color: var(--accent-mid); }

/* ==========================================================================
   Entrance / reveal animation
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
}
.fade-in-up.d1 { animation-delay: 0.1s; }
.fade-in-up.d2 { animation-delay: 0.25s; }
.fade-in-up.d3 { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger.visible > * { transition-delay: calc(var(--i, 0) * 0.08s); }

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stat-strip {
  background: var(--primary-dark);
  padding-block: 2.6rem;
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  text-align: center;
}
.stat-strip .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--accent-mid);
}
.stat-strip .stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
@media (min-width: 768px) {
  .stat-strip .container { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Cards — services / products
   ========================================================================== */
.card-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--primary-mid));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.card h3 { margin-bottom: 0.6rem; }
.card .price-tag {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* product image placeholders */
.product-visual {
  height: 190px;
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.product-visual::before { content: ''; position: absolute; inset: 0; }
.product-visual::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0.8rem; left: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14,42,61,0.55);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.pv-borosilicate::before { background: repeating-linear-gradient(115deg, #cfe8e4, #cfe8e4 14px, #e6f3f1 14px, #e6f3f1 28px); }
.pv-rack::before { background: linear-gradient(160deg, #1b4965, #2a6f97); }
.pv-rack { position: relative; }
.pv-rack .mini-tube { position: absolute; bottom: 14px; width: 14px; border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,0.75); }
.pv-kit::before { background: linear-gradient(145deg, #ff8c5a, #ff6b35); }
.pv-bulk::before { background: repeating-linear-gradient(45deg, #e8f0ef, #e8f0ef 10px, #ffffff 10px, #ffffff 20px); }
.pv-safety::before { background: linear-gradient(160deg, #2a6f97, #1b4965); }
.pv-glass::before { background: linear-gradient(135deg, #e9f6f3, #c7e8e1); }
.pv-beaker::before { background: linear-gradient(160deg, #cfe8e4 0%, #eef8f6 60%); }
.pv-pipette::before { background: linear-gradient(135deg, #1b4965, #ff6b35 150%); }
.pv-petri::before { background: radial-gradient(circle at 50% 45%, #fdf3ec 0%, #f3e3d6 70%); }
.pv-custom::before { background: linear-gradient(135deg, #0e2a3d, #ff6b35 140%); }
.pv-chem::before { background: linear-gradient(160deg, #1b4965, #7fd8be); }
.pv-primary::before { background: linear-gradient(150deg, #ffe8d9, #ffd3b6); }
.pv-secondary::before { background: linear-gradient(150deg, #d9ecea, #bfe0db); }
.pv-college::before { background: linear-gradient(150deg, #1b4965, #2a6f97); }

/* ==========================================================================
   About — split layout
   ========================================================================== */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.reverse .split-visual { order: 2; }
}
.split-visual {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}
.split-visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
}
.split-visual .ring.r1 { width: 220px; height: 220px; top: -60px; right: -60px; }
.split-visual .ring.r2 { width: 140px; height: 140px; bottom: 20px; left: -40px; border-color: rgba(255,107,53,0.3); }
.split-visual .badge {
  position: absolute;
  bottom: 1.4rem; left: 1.4rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
}
.split-copy .eyebrow { color: var(--accent); }
.value-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.value-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--text-soft); }
.value-list svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--accent); fill: none; margin-top: 3px; }

/* ==========================================================================
   Timeline (about page)
   ========================================================================== */
.timeline { position: relative; margin-top: 2rem; padding-left: 1.6rem; border-left: 2px solid var(--border); display: grid; gap: 2.2rem; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.05rem; top: 0.3rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item .year { font-family: var(--font-display); color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; fill: var(--accent); }
.testi-card p { color: var(--text); font-style: italic; }
.testi-person { margin-top: 1.3rem; display: flex; align-items: center; gap: 0.8rem; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  flex-shrink: 0;
}
.testi-person strong { font-family: var(--font-display); font-size: 0.92rem; display: block; }
.testi-person span { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 1rem auto 2rem; }
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 20% 20%, black, transparent 60%);
}
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ==========================================================================
   Process steps (schools page)
   ========================================================================== */
.steps { display: grid; gap: 1.75rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.step::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 2px;
  background: var(--border);
}

/* ==========================================================================
   Logo strip (schools)
   ========================================================================== */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--primary);
  background: var(--surface);
}
.badge-pill svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; }

/* ==========================================================================
   Table (bulk pricing)
   ========================================================================== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pricing-table th, .pricing-table td {
  padding: 1rem 1.3rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing-table thead th {
  background: var(--primary-dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--bg); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }

.contact-info { display: grid; gap: 1.6rem; align-content: start; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--primary-mid));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
.info-item h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.info-item a, .info-item p { color: var(--text-soft); font-size: 0.98rem; }
.info-item a:hover { color: var(--accent); }

.map-visual {
  margin-top: 1rem;
  height: 180px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(27,73,101,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,73,101,0.08) 1px, transparent 1px),
    linear-gradient(160deg, #eef5f4, #e2eeec);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  border: 1px solid var(--border);
  position: relative;
}
.map-visual::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(255,107,53,0.18);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 1.3rem; grid-template-columns: 1fr; margin-bottom: 1.3rem; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary-mid);
  background: var(--surface);
}
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; }

.thank-you {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.thank-you.show { display: block; }
.form-card.hidden-form .contact-form { display: none; }
.thank-you-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-mid));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem;
}
.thank-you-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding-block: 4rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.02em;
}
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.93rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-mid); }
.footer-col .info-item { gap: 0.7rem; }
.footer-col .info-item svg { width: 18px; height: 18px; stroke: var(--accent-mid); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-col .info-item a, .footer-col .info-item span { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent-mid); }

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-lg { margin-top: 2.5rem; }
