/* Shared global design tokens + utility classes */
* { box-sizing: border-box; }
body { font-family: 'Manrope', sans-serif; background: #f9f9f9; color: #1b1b1b; }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }
.gold-grad { background: linear-gradient(135deg, #7b580b 0%, #b48b3d 100%); }
.card-shadow { box-shadow: 0 2px 24px rgba(27,27,27,0.07); }
.rule-line { border-top: 1px solid #d2c5b3; }

/* Utility helpers */
.grid-lines { background-image: linear-gradient(#d2c5b3 1px, transparent 1px), linear-gradient(90deg, #d2c5b3 1px, transparent 1px); background-size: 60px 60px; }
.stat-num { font-variant-numeric: tabular-nums; }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

.service-card { transition: border-color 0.2s, box-shadow 0.2s; border: 1px solid #d2c5b3; }
.service-card:hover { border-color: #7b580b; box-shadow: 0 4px 32px rgba(123,88,11,0.1); }
.problem-stat { border-left: 3px solid #7b580b; }

.step-line::after { content: ''; position: absolute; top: 24px; left: calc(100% + 12px); width: calc(100% - 24px); height: 1px; background: #d2c5b3; }

.nav-scrolled { background: rgba(249,249,249,0.95); backdrop-filter: blur(16px); box-shadow: 0 1px 0 #d2c5b3; }
.badge { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.pkg-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(123,88,11,0.12); }
.pillar-icon { width: 48px; height: 48px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgba(123,88,11,0.08); }
.featured-ring { outline: 2px solid #7b580b; outline-offset: 0; }
.dot-texture { background-image: radial-gradient(circle, #d2c5b3 1px, transparent 1px); background-size: 28px 28px; }

/* Form system (shared with contact page) */
.form-field {
  width: 100%;
  background: #f3f3f3;
  border: 1px solid #d2c5b3;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-family: 'Manrope', sans-serif;
  color: #1b1b1b;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  border-radius: 2px;
  appearance: none;
}

.form-field:focus { border-color: #7b580b; background: #fff; }
.form-field::placeholder { color: #807666; }

label { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: #4e4638; margin-bottom: 6px; }
.hp-field { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; }
#submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
#form-msg { display: none; }
#form-msg.success { display: block; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
#form-msg.error { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Custom overrides */
.py-14 { padding-bottom: 1.5rem !important; }
.py-20 { padding-bottom: 2rem; padding-top: 1.5rem; }
.text-xs { font-size: 0.85rem; }
.text-sm { font-size: 0.92rem; }
.pb-24 { padding-bottom: 2rem; padding-top: 2rem; }
#cont-f-bg { background-color: #b48b3d;}

/* Responsive improvements for handheld devices */
@media (max-width: 1024px) {
  .max-w-7xl { padding-left: 1rem; padding-right: 1rem; }
  .card-shadow { box-shadow: 0 1px 20px rgba(27,27,27,0.08); }
  .grid-lines { background-size: 40px 40px; }
  .hero-title, .font-display { line-height: 1.1; }
}

@media (max-width: 768px) {
  body { font-size: 0.95rem; }
  img { max-width: 100% !important ; display: block; }
  main { padding-top: 0.25rem; }
  section { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
  .py-16 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .py-8  { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
  .gap-12 {gap: 0.25rem !important; }
  .h-10 { height: 1.2rem !important; }
  .h-7 {margin-top: 0.8rem !important; }

  h1 { font-size: 2rem !important; line-height: 1.1 !important; }
  h2 { font-size: 1.65rem !important; }
  h3 { font-size: 1.3rem !important; }

  .nav-scrolled, nav { position: sticky; top: 0; }
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr !important; }
  .flex-row, .items-center { flex-direction: row !important; align-items: stretch !important; }

  .pillar-icon { width: 40px; height: 40px; }
  .pkg-card, .service-card, .bg-white, .bg-paper-2 { padding: 1rem; }
}
