/* Agrawal Tube Corporation - site styles */
:root {
  --ink: #15171b;
  --steel: #262a31;
  --steel-2: #343941;
  --amber: #ffc107;
  --amber-dark: #c99700;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: #e2e0d9;
  --text: #24272c;
  --muted: #5b616a;
  --radius: 6px;
  --max: 1180px;
  --shadow: 0 10px 30px rgba(21, 23, 27, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: "Teko", "Arial Narrow", sans-serif;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 .4em;
  color: var(--ink);
  letter-spacing: .3px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* Top bar */
.topbar { background: var(--ink); color: #cfd2d7; font-size: .875rem; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; color: #cfd2d7; }
.topbar a:hover { color: var(--amber); }
.topbar-items { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar-items span, .topbar-items a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; fill: var(--amber); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: "Teko", sans-serif; font-size: 1.65rem; font-weight: 600; line-height: .9; letter-spacing: .5px; text-transform: uppercase; }
.brand-name small { display: block; font-family: "Roboto", sans-serif; font-size: .64rem; font-weight: 500; letter-spacing: 2px; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }
.nav-cta { margin-left: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 46px; height: 42px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--steel-2); border-color: var(--steel-2); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* Hero */
.hero { background: var(--ink); color: #dfe2e6; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: 1.12rem; color: #c3c7cd; max-width: 600px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { width: 100%; max-width: 440px; justify-self: end; }

.page-hero { background: var(--ink); color: #c3c7cd; }
.page-hero .container { padding-top: 56px; padding-bottom: 52px; }
.page-hero h1 { color: var(--white); margin-bottom: .25em; }
.page-hero p { max-width: 720px; font-size: 1.08rem; margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .85rem; color: #9aa0a8; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #626872; }
.breadcrumb a { color: #c3c7cd; text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }

/* Stats strip */
.stats { background: var(--amber); color: var(--ink); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 22px 18px; border-left: 1px solid rgba(21, 23, 27, .15); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: "Teko", sans-serif; font-size: 2.1rem; line-height: 1; font-weight: 600; }
.stat span { font-size: .9rem; font-weight: 500; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--steel); color: #cfd2d7; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #b6bbc2; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card p { color: var(--muted); margin-bottom: 0; }
.card-link { text-decoration: none; display: flex; flex-direction: column; }
.card-link:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-link .more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.card-link .more::after { content: " \2192"; color: var(--amber-dark); }
.card-icon { width: 54px; height: 54px; margin-bottom: 18px; }
.card-num { font-family: "Teko", sans-serif; font-size: 3rem; line-height: 1; color: var(--amber); font-weight: 600; margin-bottom: 8px; }
.section-dark .card { background: var(--steel-2); border-color: #444a53; }
.section-dark .card p { color: #b6bbc2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose p { color: var(--text); }
.prose p.muted { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2315171b' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li, .chips a {
  display: inline-block; padding: 9px 16px; border-radius: 40px; border: 1px solid var(--line); background: var(--white);
  font-weight: 500; font-size: .92rem; text-decoration: none; color: var(--text);
}
.chips a:hover { border-color: var(--amber); background: #fff8e1; }
.section-dark .chips li { background: var(--steel-2); border-color: #4a5059; color: #e3e5e8; }

/* Product blocks */
.product { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product-art { background: var(--paper); border-radius: var(--radius); padding: 28px; align-self: start; }
.product-art .card-icon { width: 100%; height: auto; margin: 0; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin-top: 18px; }
.spec dl { margin: 0; }
.spec-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-row dt { flex: 0 0 120px; font-weight: 700; color: var(--ink); }
.spec-row dd { margin: 0; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 720px; }
caption { text-align: left; padding: 14px 16px; font-weight: 700; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
th, td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--ink); color: var(--white); font-weight: 500; font-size: .85rem; letter-spacing: .3px; position: sticky; top: 0; }
tbody tr:nth-child(even) { background: #fafaf7; }
tbody tr:hover { background: #fff8e1; }
td.na { color: #a5a9af; }
.table-note { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: "Roboto", sans-serif; font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.4; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--amber-dark); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--amber); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 6px 0 0; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact-cards .card { display: flex; gap: 16px; align-items: flex-start; }
.contact-cards svg { width: 26px; height: 26px; fill: var(--amber-dark); flex: none; margin-top: 4px; }
.contact-cards h3 { font-size: 1.45rem; margin-bottom: .1em; }
.contact-cards a { text-decoration: none; font-weight: 500; color: var(--ink); }
.contact-cards a:hover { color: var(--amber-dark); }
.map { border: 0; width: 100%; height: 340px; border-radius: var(--radius); background: var(--paper); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem; color: var(--text);
  border: 1px solid #cfccc3; border-radius: var(--radius); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber-dark); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #aeb3ba; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding-top: 64px; padding-bottom: 48px; }
.footer-title { font-family: "Teko", sans-serif; font-size: 1.5rem; color: var(--amber); margin: 0 0 14px; font-weight: 500; line-height: 1; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #d4d7dc; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer address { font-style: normal; }
.site-footer address p { margin-bottom: 12px; }
.site-footer address strong { color: var(--white); font-weight: 500; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid #3c4149; border-radius: 50%; }
.social a:hover { border-color: var(--amber); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid #2c3037; padding: 18px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 10px 20px 20px;
  }
  .nav-open .nav { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a { border-bottom: 1px solid var(--line); padding: 14px 4px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--amber); padding-left: 14px; }
  .nav-cta { margin: 16px 0 0; }
}
@media (max-width: 900px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .hero-art { justify-self: start; max-width: 300px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .product-art { max-width: 200px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero .container { padding-top: 52px; padding-bottom: 52px; }
  .grid-2, .grid-3, .grid-4, .spec, .form { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid rgba(21, 23, 27, .15); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.35rem; }
  .brand-name small { letter-spacing: 1px; }
  .topbar .hide-sm { display: none; }
}
