/* Srichakra Conveyors & Packaging Machines – site styles.
   One self-hosted font, no third-party files. */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #001a29;
  --navy-2: #0a2a3d;
  --blue: #273272;
  --blue-dark: #020946;
  --pink: #fe0467;
  --gold: #f8b305;
  --gold-dark: #d99c00;
  --tint: #f6f1ee;
  --line: #e6e1dc;
  --text: #1d2330;
  --muted: #5d6573;
  --brown: #463d3d;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 26, 41, .10);
  --shadow-lg: 0 18px 40px rgba(0, 26, 41, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
ul { padding: 0; list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 960px; }
.center { text-align: center; }
.icon { width: 1em; height: 1em; flex: none; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px;
  color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head h2 { font-size: 38px; font-weight: 700; }

/* ---------- buttons ---------- */
.btn, .btn-dark, .btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border: 2px solid transparent; border-radius: 6px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon, .btn-dark .icon { transition: transform .2s; }
.btn:hover .icon, .btn-dark:hover .icon { transform: translateX(4px); }
.btn-primary, .btn-submit { background: var(--gold); color: var(--navy); }
.btn-primary:hover, .btn-submit:hover { background: var(--gold-dark); }
.btn-dark { background: var(--blue-dark); color: #fff; }
.btn-dark:hover { background: var(--pink); }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-block, .btn-submit { width: 100%; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; flex-wrap: wrap; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topbar-contact a { color: rgba(255, 255, 255, .9); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar-contact a:hover { color: var(--gold); }
.topbar-contact .icon { font-size: 13px; color: var(--gold); }
.social { display: flex; gap: 8px; }
.social a { display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: background-color .2s, color .2s; }
.social-top a { width: 30px; height: 30px; font-size: 14px; border-radius: 50%; }
.social-top a:hover { background: rgba(255, 255, 255, .15); }

/* ---------- header / menu ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 14px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.logo img { width: 210px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; }
.main-nav a {
  display: block; padding: 30px 15px; color: var(--blue); text-decoration: none;
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--pink); }
.caret { display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; vertical-align: middle; }
.has-sub { position: relative; }
.sub-menu {
  display: none; position: absolute; left: 0; top: 100%; min-width: 270px; padding: 10px 0;
  background: #fff; border-top: 3px solid var(--pink); border-radius: 0 0 8px 8px; box-shadow: var(--shadow-lg); z-index: 60;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
.sub-menu a { padding: 9px 22px; color: var(--text); font-size: 15px; font-weight: 400; white-space: normal; }
.sub-menu a:hover { background: var(--tint); }
.call-now {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 6px;
  background: var(--blue-dark); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
}
.call-now:hover { background: var(--pink); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 11px; background: var(--blue-dark); border: 0; border-radius: 6px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; margin: 4px 0; background: #fff; border-radius: 2px; }

/* ---------- home: hero slider ---------- */
.hero { position: relative; min-height: 580px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; }
.slide-1 { background-image: url("../images/slide-1.jpg"); }
.slide-2 { background-image: url("../images/slide-2.jpg"); }
.slide-3 { background-image: url("../images/slide-3.jpg"); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0, 26, 41, .92) 0%, rgba(0, 26, 41, .72) 45%, rgba(0, 26, 41, .25) 100%);
}
.hero-caption { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 130px; color: #fff; }
.hero-caption h1 { max-width: 640px; color: #fff; font-size: 52px; font-weight: 700; margin-bottom: 18px; }
.hero-caption > p:not(.eyebrow) { max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
  background: rgba(0, 0, 0, .25); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.hero-arrow:hover { background: var(--pink); border-color: var(--pink); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 92px; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background-color .3s; }
.hero-dots button.is-active { width: 28px; background: var(--gold); }

/* ---------- feature cards (overlap the banner) ---------- */
.features { position: relative; z-index: 5; margin-top: -60px; }
.feature-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 0; overflow: hidden;
}
.container.feature-cards { max-width: 1140px; }
.feature-cards li { display: flex; gap: 18px; align-items: flex-start; padding: 28px 30px; }
.feature-cards li + li { border-left: 1px solid var(--line); }
.feature-icon {
  width: 54px; height: 54px; padding: 12px; border-radius: 12px; stroke-width: 1.6;
  background: #fff4d6; color: #b57e00;
}
.feature-cards h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.feature-cards p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- home: intro ---------- */
.intro { padding: 90px 0 80px; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.intro-text h2 { font-size: 38px; font-weight: 700; margin-bottom: 18px; }
.intro-text .lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.ticks { margin-bottom: 30px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.ticks .icon { margin-top: 5px; color: var(--gold-dark); }
.ticks.dark .icon { color: #2a8715; }
.intro-media { position: relative; }
.intro-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro-media::before {
  content: ""; position: absolute; z-index: -1; top: -18px; right: -18px; width: 60%; height: 60%;
  border-radius: var(--radius); background: var(--gold); opacity: .9;
}
.intro-badge {
  position: absolute; left: -24px; bottom: 30px; display: flex; flex-direction: column;
  padding: 18px 24px; border-radius: var(--radius); background: var(--blue-dark); color: #fff; box-shadow: var(--shadow-lg);
}
.intro-badge strong { font-size: 34px; line-height: 1; color: var(--gold); }
.intro-badge span { font-size: 13px; letter-spacing: .04em; margin-top: 6px; }

/* ---------- home: industries ---------- */
.industries { padding: 80px 0; background: var(--tint); }
.industry-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.industry {
  padding: 24px 14px 20px; border-radius: var(--radius); background: #fff; text-align: center;
  box-shadow: 0 4px 14px rgba(0, 26, 41, .06); transition: transform .25s, box-shadow .25s;
}
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.industry img { width: 104px; height: 104px; margin: 0 auto 14px; object-fit: cover; border-radius: 50%; border: 4px solid var(--tint); }
.industry h3 { font-size: 17px; font-weight: 700; }

/* ---------- home: products ---------- */
.products { padding: 90px 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card a {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img { display: flex; align-items: center; justify-content: center; height: 250px; padding: 22px; background: #f7f7f8; }
.product-img img { max-height: 100%; width: auto; mix-blend-mode: multiply; transition: transform .35s; }
.product-card a:hover .product-img img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; border-top: 3px solid var(--gold); }
.product-body h3 { font-size: 20px; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); font-size: 14px; font-weight: 600; }
.product-card a:hover .more .icon { transform: translateX(4px); }
.more .icon { transition: transform .2s; }

/* ---------- home: values band ---------- */
.values {
  position: relative; padding: 90px 0; color: #fff;
  background: linear-gradient(rgba(0, 26, 41, .9), rgba(2, 9, 70, .92)), url("../images/slide-3.jpg") center / cover;
}
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.values h2 { color: #fff; font-size: 38px; font-weight: 700; margin-bottom: 16px; }
.values-grid > div > p:not(.eyebrow) { color: rgba(255, 255, 255, .82); font-size: 17px; margin-bottom: 30px; }
.value-list { display: grid; gap: 16px; }
.value-list li {
  display: flex; align-items: center; gap: 22px; padding: 22px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .25s;
}
.value-list li:hover { background: rgba(255, 255, 255, .13); }
.value-list .num { font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; }
.value-list h3 { color: #fff; font-size: 20px; font-weight: 600; }

/* ---------- banners and page titles ---------- */
.banner { display: flex; align-items: center; min-height: 340px; background-size: cover; background-position: center; background-color: var(--navy); position: relative; color: #fff; text-align: center; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 26, 41, .6); }
.banner .container { position: relative; padding-bottom: 40px; }
.banner h1 { color: #fff; font-size: 48px; font-weight: 700; }
.banner-products { background-image: url("../images/banner-products.jpg"); }
.banner-contact { background-image: url("../images/banner-contact.jpg"); }
.banner-img img { width: 100%; }
.page-title { background: var(--navy); color: #fff; padding: 34px 0; text-align: center; }
.page-title h1 { color: #fff; font-size: 36px; font-weight: 600; }

/* ---------- inner pages ---------- */
.tinted { background: var(--tint); }
.content { padding: 56px 0; }
.content h1 { font-size: 36px; font-weight: 700; margin-bottom: 18px; }
.content h2 { font-size: 28px; font-weight: 700; margin: 0 0 14px; }
.content h3 { font-size: 18px; font-weight: 700; margin: 16px 0 4px; }
.content p { margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split img { margin-bottom: 24px; }
.framed { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.catalog.few { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; }
.catalog li { background: #fff; border-radius: var(--radius); box-shadow: 0 4px 14px rgba(0, 26, 41, .08); overflow: hidden; }
.catalog figure { display: flex; flex-direction: column; height: 100%; }
.catalog img { width: 100%; height: 240px; object-fit: contain; padding: 14px; background: #fff; }
.catalog figcaption { margin-top: auto; padding: 14px 12px; background: var(--navy); border-top: 3px solid var(--gold); color: #fff; font-size: 17px; font-weight: 500; text-align: center; line-height: 1.25; }
.catalog-cta { margin: 36px 0 0; text-align: center; }

.address-card { padding: 30px; background: var(--tint); border-left: 5px solid var(--pink); border-radius: 0 var(--radius) var(--radius) 0; }
.address-card p { margin-bottom: 6px; }
.address-card a { text-decoration: none; }
.address-card a:hover { text-decoration: underline; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

/* ---------- forms ---------- */
.form { display: flex; flex-wrap: wrap; gap: 14px; }
.field { flex: 1 1 100%; min-width: 0; }
.field.half { flex: 1 1 calc(50% - 7px); }
.field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--navy); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd4dc; border-radius: 6px; background: #fff; color: #000;
  font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(248, 179, 5, .25); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 14px; padding: 12px 14px; border-radius: 6px; font-weight: 500; }
.form-status.ok { background: #e3f6df; color: #17520b; }
.form-status.bad { background: #fde4e4; color: #8a1010; }

/* ---------- call-back band (every page) ---------- */
.callback { padding: 80px 0; background: var(--tint); }
.callback-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.callback-text h2 { font-size: 38px; font-weight: 700; margin-bottom: 14px; }
.callback-text > p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.callback-contact { display: grid; gap: 12px; }
.callback-contact a { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); font-weight: 600; font-size: 17px; text-decoration: none; }
.callback-contact a:hover { color: var(--pink); }
.callback-contact .icon { width: 42px; height: 42px; padding: 12px; border-radius: 50%; background: var(--blue-dark); color: #fff; }
.callback-card { padding: 34px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 1.35fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-logo { display: inline-block; padding: 12px 16px; margin-bottom: 20px; background: #fff; border-radius: 8px; }
.footer-logo img { width: 180px; }
.footer-about p { margin-bottom: 22px; }
.site-footer h2 { position: relative; color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 22px; padding-bottom: 12px; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--gold); }
.footer-list li + li { margin-top: 10px; }
.footer-list a { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s, padding .2s; }
.footer-list a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 16px; }
.footer-contact .icon { margin-top: 4px; color: var(--gold); }
.footer-contact a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.social-footer a { width: 40px; height: 40px; font-size: 16px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.social-footer a:hover { background: var(--gold); color: var(--navy); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.copyright-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 30px; padding-top: 20px; padding-bottom: 20px; }
.heart { color: var(--pink); vertical-align: -2px; }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .call-now { display: none; }
  .industry-list { grid-template-columns: repeat(3, 1fr); }
  .catalog { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-cards li { padding: 24px 20px; }
  .hero-caption h1 { font-size: 44px; }
}

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 72px; flex-wrap: wrap; }
  .logo img { width: 170px; }
  .main-nav { display: none; flex: 1 1 100%; margin: 0 -20px; border-top: 1px solid #ddd; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { display: block; }
  .main-nav a { padding: 13px 20px; border-bottom: 1px solid #eee; white-space: normal; }
  .sub-menu { display: block; position: static; padding: 0; box-shadow: none; border: 0; min-width: 0; }
  .sub-menu a { padding: 11px 20px 11px 38px; }

  .hero { min-height: 0; }
  .hero-caption { padding-top: 56px; padding-bottom: 110px; }
  .hero-caption h1 { font-size: 32px; }
  .hero-caption > p:not(.eyebrow) { font-size: 16px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 76px; }
  .features { margin-top: -50px; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-cards li + li { border-left: 0; border-top: 1px solid var(--line); }
  .feature-cards li { padding: 20px; }

  .intro, .industries, .products, .values, .callback { padding: 56px 0; }
  .intro-grid, .values-grid, .callback-inner { grid-template-columns: 1fr; gap: 40px; }
  .intro-text h2, .section-head h2, .values h2, .callback-text h2 { font-size: 28px; }
  .section-head { margin-bottom: 30px; }
  .intro-media::before { top: -10px; right: -10px; }
  .intro-badge { left: 14px; bottom: 14px; padding: 14px 18px; }
  .intro-badge strong { font-size: 26px; }
  .industry-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .industry img { width: 88px; height: 88px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-img { height: 220px; }
  .value-list li { padding: 18px 20px; }
  .callback-card { padding: 22px; }
  .field.half { flex-basis: 100%; }

  .banner { min-height: 220px; }
  .banner h1 { font-size: 32px; }
  .page-title h1 { font-size: 26px; }
  .split { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .catalog img { height: 180px; }
  .catalog figcaption { font-size: 15px; }
  .content { padding: 36px 0; }
  .content h1 { font-size: 28px; }
  .map iframe { height: 320px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-top: 50px; padding-bottom: 36px; }
  .footer-about, .footer-col:last-child { grid-column: 1 / -1; }
  .copyright-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
