/* =====================================================================
   Sarfaraz Enterprise — Master Stylesheet
   Brand: Royal Navy #002060 + Premium Gold #D4AF37
   Modern, production-grade, 60fps animations
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #002060;
  --navy-dark: #001845;
  --navy-light: #0a3d8f;
  --gold: #D4AF37;
  --gold-dark: #b8941f;
  --gold-light: #f4d76e;
  --ink: #2a3142;
  --ink-soft: #5b6677;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(0, 32, 96, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 32, 96, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 32, 96, 0.18);

  --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Poppins', 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-dark); }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--navy); line-height: 1.22; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.text-accent { color: var(--gold-dark); }
.text-navy { color: var(--navy); }
.lead { font-size: 1.125rem; color: var(--ink-soft); }

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--white, #fff); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 720px; margin: 0.5rem auto 0; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  position: relative;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-navy   { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--gold-light); }
.btn-gold   { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1ebe57; border-color: #1ebe57; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: var(--gold-light);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.4px;
  line-height: 1.05;
}
.brand-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-link:hover, .nav-link.active {
  background: var(--navy);
  color: var(--gold-light);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
}
.nav-cta:hover { background: var(--gold-dark); color: #fff !important; }

.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-left: 0.5rem;
}
.lang-toggle button {
  background: #fff;
  color: var(--navy);
  border: none;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--t-fast);
}
.lang-toggle button.active {
  background: var(--navy);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  padding: 0.25rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -120px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
}
.hero::after {
  bottom: -160px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  max-width: 580px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-card {
  background: #fff;
  color: var(--ink);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold);
}
.hero-card h3 { color: var(--navy); margin-bottom: 1rem; }
.hero-card-list { list-style: none; margin: 0; padding: 0; }
.hero-card-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.hero-card-list li:last-child { border: none; }
.hero-card-list .price { color: var(--gold-dark); font-weight: 700; }

/* ---------- Trust Grid ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.trust-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.trust-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.7rem;
}
.trust-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.trust-card p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}
.step h3 { color: var(--navy); margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Live Search & Services ---------- */
.search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.search-bar input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
.search-bar .icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--ink-soft);
}
.search-bar .clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--ink-soft);
  display: none;
  cursor: pointer;
}
.search-bar.has-value .clear { display: block; }

.search-meta {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.search-meta strong { color: var(--navy); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-base);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  line-height: 1;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card .desc { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 0.75rem; }
.service-card .price {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-light);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}
.service-card mark {
  background: linear-gradient(transparent 60%, var(--gold-light) 60%);
  color: var(--navy-dark);
  padding: 0 2px;
  border-radius: 2px;
}
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
  display: none;
}
.no-results.show { display: block; }

/* ---------- Price Tables ---------- */
.price-category {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}
.price-cat-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.price-cat-header h3 { color: #fff; margin: 0; flex: 1; font-size: 1.15rem; }
.price-cat-header .cat-icon { font-size: 1.4rem; }

.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th, .price-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.price-table th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-table tbody tr { transition: background var(--t-fast); }
.price-table tbody tr:hover { background: rgba(212, 175, 55, 0.06); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .service-name { font-weight: 600; color: var(--navy); }
.price-table .rate-normal { color: var(--ink); font-weight: 600; }
.price-table .rate-guarantee {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  white-space: nowrap;
}
.price-table .rate-na { color: var(--ink-soft); font-style: italic; }
.price-table-foot {
  padding: 0.85rem 1.5rem;
  background: rgba(212, 175, 55, 0.08);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); margin-bottom: 0.5rem; }
.testimonial-text {
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.testimonial-loc { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Calculator ---------- */
.calculator {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.calc-group { margin-bottom: 1.25rem; }
.calc-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}
.calc-group select, .calc-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.calc-group select:focus, .calc-group input:focus {
  outline: none;
  border-color: var(--gold);
}
.calc-result {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  text-align: center;
}
.calc-result-label { font-size: 0.85rem; opacity: 0.85; margin-bottom: 0.25rem; }
.calc-result-amount { font-size: 2.25rem; font-weight: 800; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.active { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: transform var(--t-base);
  flex-shrink: 0;
  font-weight: 400;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
  padding: 0 1.5rem;
  color: var(--ink-soft);
}
.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}

/* ---------- Order Tracking ---------- */
.tracker {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.tracker-input-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tracker-input-row input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: border-color var(--t-fast);
}
.tracker-input-row input:focus {
  outline: none;
  border-color: var(--gold);
}
.tracker-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.tracker-hint code {
  background: var(--bg-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.tracker-result {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tracker-result.show { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tracker-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tracker-status.pending { background: #fef3c7; color: #92400e; }
.tracker-status.processing { background: #dbeafe; color: #1e40af; }
.tracker-status.completed { background: #d1fae5; color: #065f46; }
.tracker-status.cancelled { background: #fee2e2; color: #991b1b; }
.tracker-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.tracker-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
}
.tracker-meta-item .label {
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}
.tracker-meta-item .value { font-weight: 700; color: var(--navy); }

.tracker-timeline {
  margin-top: 1.5rem;
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
}
.timeline-event {
  padding: 0.75rem 0;
  position: relative;
}
.timeline-event::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 1.1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
}
.timeline-event.completed::before { background: var(--success); box-shadow: 0 0 0 2px var(--success); }
.timeline-event.active::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.timeline-event .ts { font-size: 0.8rem; color: var(--ink-soft); }
.timeline-event .msg { font-weight: 500; color: var(--ink); }

.tracker-error {
  display: none;
  padding: 1rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-top: 1rem;
}
.tracker-error.show { display: block; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-banner h2 { color: var(--navy-dark); margin-bottom: 0.5rem; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 1.5rem; opacity: 0.9; }

/* ---------- Blog Cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  border: 1px solid var(--line);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 3rem;
  position: relative;
}
.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.blog-body { padding: 1.5rem; }
.blog-date { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-body p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.blog-link { color: var(--gold-dark); font-weight: 600; font-size: 0.9rem; }
.blog-link:hover { color: var(--navy); }

/* ---------- Forms ---------- */
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Info Cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.info-card .info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.info-card h4 { color: var(--navy); margin-bottom: 0.5rem; }
.info-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.about-image {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}
.about-image .badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.96);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  z-index: 2;
}
.about-image .badge-float strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}
.about-image .badge-float span { color: var(--ink-soft); font-size: 0.85rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: var(--bg-soft);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.25rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.5rem;
  overflow: hidden;
  position: relative;
  transition: transform var(--t-base);
  cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-family: inherit;
  opacity: 0;
  transition: opacity var(--t-base);
}
.gallery-item:hover::after { opacity: 1; }

/* ---------- Service Area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.area-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--line);
  text-align: center;
  transition: var(--t-base);
}
.area-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.area-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.area-card h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--navy); }
.area-card p { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; position: relative; z-index: 2; }
.page-header p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  background: var(--bg-soft);
  padding: 0.75rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0; padding: 0; }
.breadcrumb li { color: var(--ink-soft); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; color: var(--ink-soft); opacity: 0.6; }
.breadcrumb a { color: var(--navy); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb li:last-child { color: var(--ink); font-weight: 600; }

/* ---------- Cross-Promo Sidebar ---------- */
.promo-sidebar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1030;
  max-width: 240px;
}
.promo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 32, 96, 0.18);
  transition: transform var(--t-base), box-shadow var(--t-base);
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(135deg, #002060 0%, #0a3d8f 100%);
  backdrop-filter: blur(8px);
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,32,96,0.28);
  color: #fff;
}
.promo-card.gold {
  background: linear-gradient(135deg, #b8941f 0%, #D4AF37 100%);
  color: #001845;
}
.promo-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.promo-text strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.1;
}
.promo-text small {
  display: block;
  opacity: 0.85;
  font-size: 0.72rem;
  margin-top: 2px;
}
@media (max-width: 991.98px) {
  .promo-sidebar { display: none !important; }
}

/* ---------- Cross-Promo Modal ---------- */
.promo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 24, 96, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--t-base);
}
.promo-modal.show { display: flex; opacity: 1; }
.promo-modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
  transform: scale(0.92);
  transition: transform var(--t-base);
}
.promo-modal.show .promo-modal-box { transform: scale(1); }
.promo-modal-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.promo-modal-header h3 { color: var(--navy-dark); margin: 0; font-size: 1.15rem; }
.promo-modal-close {
  background: rgba(255,255,255,0.4);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t-fast);
}
.promo-modal-close:hover { background: rgba(255,255,255,0.7); }
.promo-modal-body { padding: 1.5rem; }
.promo-modal-body p { color: var(--ink-soft); margin-bottom: 1.25rem; font-size: 0.95rem; }
.promo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  margin-bottom: 0.75rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.promo-link:hover { border-color: var(--gold); background: var(--bg-soft); color: var(--ink); }
.promo-link img { width: 36px; height: 36px; object-fit: contain; }
.promo-link-info strong { display: block; }
.promo-link-info small { color: var(--ink-soft); font-size: 0.8rem; }
.promo-modal-footer {
  padding: 0.85rem 1.5rem;
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.promo-modal-footer button.link {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}
.promo-modal-footer button.link:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Floating Actions ---------- */
.float-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
}
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--navy); animation: pulse-call 2s infinite; }
.float-label {
  position: absolute;
  right: 70px;
  background: var(--navy-dark);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), right var(--t-fast);
}
.float-btn:hover .float-label { opacity: 1; right: 76px; }

@keyframes pulse-call {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 32, 96, 0.4), 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50% { box-shadow: 0 6px 20px rgba(0, 32, 96, 0.4), 0 0 0 15px rgba(212, 175, 55, 0); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-about .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-about .footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}
.footer-about .footer-logo-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
}
.footer-about .footer-logo-tag {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-about p { font-size: 0.9rem; line-height: 1.7; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: 0.35rem 0; font-size: 0.9rem; }
.footer ul li a { color: rgba(255,255,255,0.85); transition: padding-left var(--t-fast), color var(--t-fast); }
.footer ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact-item .icon {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--t-fast);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }

/* ---------- Land Records ---------- */
.land-hero {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}
.land-hero h2 { color: var(--navy-dark); margin-bottom: 0.75rem; }
.land-hero p { font-size: 1.1rem; max-width: 720px; margin: 0 auto 1.5rem; }

/* ---------- Print ---------- */
@media print {
  .promo-sidebar, .promo-modal, .float-actions, .navbar, .footer, .topbar, .breadcrumb { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ---------- Paytm QR Badge ---------- */
.paytm-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #00BAF2 0%, #0099D4 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 186, 242, 0.25);
}
.paytm-badge i { font-size: 1.1rem; }
.hero-card .paytm-badge { margin-top: 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    display: none;
    gap: 0.25rem;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 0.75rem 1rem; }
  .lang-toggle { margin-left: 0; margin-top: 0.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .page-header { padding: 2rem 0 1.75rem; }
  .section { padding: 3rem 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar-info { font-size: 0.75rem; gap: 0.75rem; }
  .brand img { height: 48px; width: 48px; }
  .brand-name { font-size: 1.05rem; }
  .float-btn { width: 50px; height: 50px; font-size: 1.4rem; }
  .float-actions { bottom: 15px; right: 15px; }
  .price-table th, .price-table td { padding: 0.75rem; font-size: 0.85rem; }
  .about-stats { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .container { padding: 0 1rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .calculator, .contact-form, .tracker { padding: 1.5rem; }
  .calc-result-amount { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .tracker-input-row { flex-direction: column; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- Cart UI: nav badge + services add btn ---------- */
.nav-cart-li { position: relative; }
.nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  position: relative;
}
.nav-cart-link svg { vertical-align: middle; }
.nav-cart-label { font-size: .95rem; }
.nav-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  line-height: 20px;
  padding: 0 6px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.nav-cart-badge[hidden] { display: none; }

.rate-add { margin-top: .5rem; }
.rate-add .btn { padding: 4px 12px; font-size: .82rem; }
.rate-add .btn:disabled,
.rate-add .btn[disabled] {
  background: var(--gold);
  color: var(--navy);
  opacity: 1;
}
.btn.is-added { transform: scale(1.05); transition: transform .15s ease; }

/* ---------- Cart & Checkout pages ---------- */
.cart-grid, .checkout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.cart-list, .checkout-form-section {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(0,32,96,.08);
}
.cart-summary, .checkout-summary {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(0,32,96,.08);
  position: sticky;
  top: 1rem;
}
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: .75rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eef2f7;
}
.cart-line:last-child { border-bottom: 0; }
.cart-line-name { font-weight: 600; color: var(--navy); }
.cart-line-tier {
  display: inline-block;
  background: #eef2f7;
  color: var(--navy);
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: .5rem;
}
.cart-line-tier.guarantee { background: var(--gold); color: var(--navy); }
.cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  overflow: hidden;
}
.cart-line-qty button {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
}
.cart-line-qty button:hover { background: #f5f8fc; }
.cart-line-qty input {
  width: 44px;
  height: 32px;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  -moz-appearance: textfield;
}
.cart-line-qty input::-webkit-outer-spin-button,
.cart-line-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-line-price { font-weight: 600; color: var(--navy); min-width: 90px; text-align: right; }
.cart-line-remove {
  background: none;
  border: 0;
  color: #b00020;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1.2rem;
  line-height: 1;
}
.cart-line-remove:hover { color: #d32f2f; }

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
}
.summary-line.total {
  border-top: 2px solid var(--navy);
  margin-top: .75rem;
  padding-top: .75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

/* Empty cart state */
.cart-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,32,96,.08);
}
.cart-empty .icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.cart-empty h2 { color: var(--navy); margin-bottom: .5rem; }
.cart-empty p  { color: #4a5e7a; margin-bottom: 1.5rem; }

/* Checkout form */
.checkout-form-section h2 { color: var(--navy); margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--navy);
  font-size: .9rem;
}
.field label .req { color: #d32f2f; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #1a2638;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
  outline: none;
}
.field .help { font-size: .82rem; color: #6c7993; margin-top: .25rem; }
.field.invalid input, .field.invalid textarea { border-color: #d32f2f; }
.field.invalid .help { color: #d32f2f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 768px) {
  .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .cart-line { grid-template-columns: 1fr; gap: .5rem; padding: 1rem; }
  .cart-line-qty { justify-self: start; }
  .cart-line-price, .cart-line-remove { justify-self: end; }
  .field-row { grid-template-columns: 1fr; }
  .nav-cart-label { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
