/* =========================================================
   Shree Satguru Enterprises — Public Site Stylesheet
   Design tokens: deep industrial blue + safety orange,
   condensed display type (tool/hardware register) +
   clean body sans. Signature motif: a tape-measure tick
   rule used as a section divider (ties to hardware trade).
   ========================================================= */

:root {
  /* Color */
  --color-navy-900: #0B2A40;
  --color-navy-800: #0E3A5C;
  --color-navy-700: #164C74;
  --color-orange-600: #E8720C;
  --color-orange-500: #F2891F;
  --color-orange-100: #FCE6D1;
  --color-ink: #16232C;
  --color-body: #3C4A54;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F6F8;
  --color-border: #E1E6EA;
  --color-success: #1E8E5A;
  --color-error: #C8402E;
  --color-white: #FFFFFF;

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 2px 10px rgba(11, 42, 64, 0.08);
  --shadow-hover: 0 8px 24px rgba(11, 42, 64, 0.14);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-navy-900);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--color-orange-600);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--color-body); font-size: 1.05rem; }

/* Tape-measure tick divider — signature motif */
.tick-rule {
  height: 14px;
  width: 100%;
  background-image: repeating-linear-gradient(
    to right,
    var(--color-orange-600) 0, var(--color-orange-600) 2px,
    transparent 2px, transparent 24px
  );
  background-position: center;
  background-repeat: repeat-x;
  background-size: 100% 14px;
  opacity: 0.55;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-primary { background: var(--color-orange-600); color: var(--color-white); }
.btn-primary:hover { background: var(--color-orange-500); box-shadow: var(--shadow-hover); }

.btn-secondary { background: var(--color-navy-800); color: var(--color-white); }
.btn-secondary:hover { background: var(--color-navy-700); box-shadow: var(--shadow-hover); }

.btn-outline { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-outline-navy { background: transparent; color: var(--color-navy-800); border-color: var(--color-navy-800); }
.btn-outline-navy:hover { background: var(--color-navy-800); color: var(--color-white); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-danger { background: var(--color-error); color: var(--color-white); }
.btn-danger:hover { filter: brightness(1.08); }

/* =========== Header / Nav =========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  background: var(--color-navy-800);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  border-bottom: 3px solid var(--color-orange-600);
}
.brand-text { line-height: 1.15; }
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-navy-900);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
.brand-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--color-orange-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  color: var(--color-navy-900);
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-orange-600); }
.main-nav a.active { position: relative; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--color-orange-600);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--color-navy-900); display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .18s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--color-border); }
  .hamburger { display: flex; }
  .nav-actions .btn span.label-full { display: none; }
}

/* =========== Hero =========== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--color-navy-900) 0%, var(--color-navy-800) 55%, var(--color-navy-700) 100%);
  color: var(--color-white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 84px 24px 64px;
  max-width: var(--container-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-display);
  color: var(--color-orange-500);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 { color: var(--color-white); margin-bottom: 14px; }
.hero .headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-orange-500);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  line-height: 1.35;
}
.hero .support {
  font-size: 1.05rem;
  color: rgba(255,255,255,.86);
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tick-rule { position: absolute; bottom: 0; left: 0; opacity: .9; }

.hero .tick-rule { position: absolute; top: 0; left: 0; z-index: 1; }

/* =========== Trust strip =========== */
.trust-strip {
  background: var(--color-navy-900);
  color: rgba(255,255,255,.85);
  padding: 14px 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
}
.trust-strip .container {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip span::before { content: "●"; color: var(--color-orange-600); font-size: .6rem; }

/* =========== Cards / Grids =========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr; } }

.feature-card, .category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover, .category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.icon-tile {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-orange-100);
  color: var(--color-orange-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-tile svg { width: 26px; height: 26px; }

.category-card h3 { margin-bottom: 12px; }
.category-card ul {
  list-style: none;
  margin: 0; padding: 0;
  columns: 2;
  column-gap: 20px;
  font-size: 0.92rem;
}
.category-card li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--color-border);
  break-inside: avoid;
}
.category-card .more-note { margin-top: 12px; font-size: .85rem; color: var(--color-orange-600); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }

/* =========== About =========== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.owner-badge {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-orange-600);
  border-radius: var(--radius-sm);
}
.owner-badge strong { display: block; font-family: var(--font-display); color: var(--color-navy-900); }
.owner-badge span { font-size: .85rem; color: var(--color-body); }

@media (max-width: 900px) {
  .about-grid, .hero-inner { grid-template-columns: 1fr; }
  .hero-inner { text-align: left; }
}

/* =========== Product search =========== */
.search-bar {
  max-width: 640px;
  margin: 0 auto 44px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
}
.search-bar input:focus { outline: none; border-color: var(--color-orange-600); }
.search-bar .search-icon {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--color-navy-800);
}
.search-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--color-body);
  display: none;
}
.hit { background: var(--color-orange-100); }

/* =========== Gallery =========== */
.gallery-filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.gallery-filters button {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  transition: all .15s ease;
}
.gallery-filters button.active, .gallery-filters button:hover { border-color: var(--color-orange-600); color: var(--color-orange-600); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(11,42,64,.82);
  color: var(--color-white);
  font-size: .7rem;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(11,42,64,.85), transparent);
  color: var(--color-white);
  font-size: .8rem;
  padding: 22px 10px 8px;
}
.gallery-empty { text-align: center; padding: 60px 20px; color: var(--color-body); }

.lightbox {
  position: fixed; inset: 0; background: rgba(11,20,27,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: 900px; width: 100%; }
.lightbox-content img, .lightbox-content video { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius-sm); background: #000; }
.lightbox-cap { color: var(--color-white); margin-top: 14px; text-align: center; }
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  background: none; border: none; color: var(--color-white);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* =========== Contact =========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--color-navy-900);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px;
}
.info-card h3 { color: var(--color-white); }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { color: var(--color-orange-500); flex-shrink: 0; margin-top: 3px; }
.info-row a:hover { color: var(--color-orange-500); }

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--color-navy-900);
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--color-ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-orange-600); }
.field textarea { resize: vertical; min-height: 110px; }
.field-error { color: var(--color-error); font-size: .82rem; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--color-error); }
.field.has-error .field-error { display: block; }

.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; display: none; }
.form-alert.success { display: block; background: #E7F5EE; color: var(--color-success); border: 1px solid #BFE6D2; }
.form-alert.error { display: block; background: #FBEAE7; color: var(--color-error); border: 1px solid #F2C4BB; }

.map-embed { border-radius: var(--radius-md); overflow: hidden; margin-top: 24px; border: 1px solid var(--color-border); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* =========== Footer =========== */
.site-footer { background: var(--color-navy-900); color: rgba(255,255,255,.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 16px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--color-orange-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========== Floating buttons =========== */
.floating-actions {
  position: fixed;
  right: 20px; bottom: 20px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 400;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(0,0,0,.24);
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.07); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--color-orange-600); }
.fab svg { width: 26px; height: 26px; }

/* =========== Utility =========== */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.skip-link {
  position: absolute; left: -999px; top: auto;
  background: var(--color-orange-600); color: #fff; padding: 12px 18px; z-index: 2000;
}
.skip-link:focus { left: 16px; top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--color-orange-600); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.page-hero {
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-800));
  color: var(--color-white);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; }

.loader {
  display: inline-block; width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.page-loading { min-height: 40vh; display: flex; align-items: center; justify-content: center; color: var(--color-body); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
