/* 立志搬屋 — 專業香港物流品牌風格 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&family=Barlow:wght@500;600;700;800&display=swap');

:root {
  --primary: #103A71;
  --primary-dark: #0A2A54;
  --primary-light: #1A4F94;
  --cta: #FF8A00;
  --cta-hover: #E67A00;
  --cta-dark: #CC6E00;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --text: #222222;
  --text-muted: #5A6270;
  --border: #E4E7EC;
  --success: #1B7A4E;
  --shadow: 0 4px 20px rgba(16, 58, 113, 0.08);
  --shadow-lg: 0 12px 40px rgba(16, 58, 113, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --container: 1180px;
  --font: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  --font-display: 'Barlow', 'Noto Sans TC', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-desktop a {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
  background: rgba(16, 58, 113, 0.06);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid rgba(255, 138, 0, 0.45);
  outline-offset: 2px;
}

.btn-cta {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 138, 0, 0.35);
}
.btn-cta:hover { background: var(--cta-hover); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--primary); }

.btn-outline-dark {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.nav-mobile .mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 42, 84, 0.92) 0%, rgba(16, 58, 113, 0.78) 48%, rgba(16, 58, 113, 0.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 1.75rem;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-bottom: 2rem;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-checks svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--cta);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  height: 180%;
  background: url('../images/moving-06.jpg') center/cover;
  opacity: 0.15;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { opacity: 0.5; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  max-width: 700px;
}
.page-hero p {
  max-width: 560px;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}
.section-alt { background: #fff; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--cta);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Trust bar */
.trust-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 2.5rem 0;
  margin-top: -1px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--cta);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.trust-item span {
  font-size: 0.9rem;
  opacity: 0.85;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* About split */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.split-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
}
.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--cta);
  flex-shrink: 0;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--primary);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.45rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.service-card .link-more {
  color: var(--cta);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card .link-more::after { content: '→'; }

/* Icon cards */
.icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}
.icon-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.icon-card:hover {
  border-color: rgba(16, 58, 113, 0.25);
  box-shadow: var(--shadow);
}
.icon-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 58, 113, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.icon-card .icon svg { width: 24px; height: 24px; }
.icon-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.icon-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  display: grid;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
}
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
}
.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 0.75rem 0 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .timeline-step {
    grid-template-columns: 1fr 48px 1fr;
    gap: 1.5rem;
  }
  .timeline-step:nth-child(odd) .step-content { grid-column: 1; text-align: right; }
  .timeline-step:nth-child(odd) .step-num { grid-column: 2; }
  .timeline-step:nth-child(odd) .step-spacer { grid-column: 3; }
  .timeline-step:nth-child(even) .step-spacer { grid-column: 1; }
  .timeline-step:nth-child(even) .step-num { grid-column: 2; }
  .timeline-step:nth-child(even) .step-content { grid-column: 3; }
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.section-alt .step-num { box-shadow: 0 0 0 6px #fff; }
.step-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.step-spacer { display: none; }
@media (min-width: 768px) { .step-spacer { display: block; } }

/* Detail chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cta);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stars {
  color: #F5B400;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.review-card p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.review-author strong { display: block; font-size: 0.95rem; }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-grid a,
.gallery-grid figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* Full gallery page */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .gallery-page-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
  .gallery-page-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 20, 40, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox-img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--cta); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 2.2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
}

/* CTA band */
.cta-band {
  background: var(--cta);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,0.12), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0,0,0,0.08), transparent 35%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.cta-band p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}
.cta-band .phone-xl {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  display: block;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.cta-band .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.cta-band .btn-outline {
  border-color: #fff;
  color: #fff;
}
.cta-band .btn-white {
  background: #fff;
  color: var(--cta-dark);
}
.cta-band .btn-white:hover { background: var(--primary); color: #fff; }

/* Form */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 58, 113, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .error {
  color: #C0392B;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #C0392B;
}
.form-group.invalid .error { display: block; }
.form-success {
  display: none;
  background: rgba(27, 122, 78, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-success.show { display: block; }

/* Content prose */
.prose {
  max-width: 720px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 2rem 0 0.85rem;
}
.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 0.6rem;
}
.prose p { margin-bottom: 1rem; color: var(--text-muted); }
.prose ul, .prose ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--text-muted);
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.6); }
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--cta); }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cta) !important;
  opacity: 1 !important;
  margin: 0.5rem 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Sticky mobile bars */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: env(safe-area-inset-bottom, 0) 0 0;
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.sticky-bar .call { background: var(--primary); color: #fff; }
.sticky-bar .wa { background: #25D366; color: #fff; }
@media (min-width: 1024px) {
  .sticky-bar { display: none; }
}
body { padding-bottom: 60px; }
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

.float-wa {
  display: none;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 890;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; }
@media (min-width: 1024px) {
  .float-wa { display: flex; }
}

.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 880;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  box-shadow: var(--shadow);
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-top:hover { transform: translateY(-2px); }
@media (min-width: 1024px) {
  .back-top { bottom: 6.5rem; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Contact info block */
.contact-info {
  display: grid;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 58, 113, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.contact-info-item p,
.contact-info-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-info-item a:hover { color: var(--cta); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
