/*
Theme Name: Inoxsip
Theme URI: https://inoxsip.com
Author: Inoxsip
Author URI: https://inoxsip.com
Description: Custom B2B manufacturer theme for Inoxsip — stainless steel pet water bottles & bowls. Layout modeled on luxopack.com: trust bar → hero capsules → stats → product card grid with badges → comparison → process → FAQ → persona quote form → floating WhatsApp CTA. All site-wide contact constants (WhatsApp number, email, form endpoint) are defined once in functions.php.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
Text Domain: inoxsip
*/

/* Inoxsip — site-wide stylesheet (single file, no @import)
   Style reference: luxopack.com B2B manufacturer layout. */
:root {
  --ink: #16232e;
  --steel: #5b6b78;
  --mist: #eef3f6;
  --line: #d7e0e6;
  --brand: #0e7c86;
  --brand-dark: #0a5c64;
  --brand-darker: #10222c;
  --accent: #f2a541;
  --gold: #f2a541;
  --white: #ffffff;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Trust bar (top thin strip, luxopack style) ---------- */
.trust-bar {
  background: var(--brand-darker); color: #cfe3e8;
  font-size: .82rem; text-align: center; padding: 7px 16px; letter-spacing: .3px;
}
.trust-bar strong { color: var(--gold); font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 10;
}
.nav-bar { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 14px 0; }
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; color: var(--ink); }
.logo span { color: var(--brand); }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.nav-links a { color: var(--steel); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-links a.cta-link {
  background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 6px;
}
.nav-links a.cta-link:hover { background: var(--brand-dark); }
.nav-links a.wa-link { color: #1faa54; font-weight: 700; }

/* ---------- Hero with data capsules ---------- */
.hero {
  background: linear-gradient(135deg, #10222c 0%, #123a44 55%, #0e7c86 100%);
  color: #fff; padding: 60px 0 56px;
}
.hero .kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.22; margin: 0 0 14px; max-width: 760px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lead { font-size: 1.08rem; color: #d9e8ec; max-width: 660px; margin: 0 0 24px; }
.hero .btn {
  display: inline-block; background: var(--accent); color: #16232e; font-weight: 700;
  padding: 13px 26px; border-radius: 8px; font-size: 1rem;
}
.hero .btn:hover { background: #e59730; text-decoration: none; }
.hero .btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); margin-left: 10px; }
.hero .btn.ghost:hover { border-color: #fff; }

/* data capsules under hero CTA */
.capsules { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.capsule {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; color: #eaf5f7;
}
.capsule strong { color: var(--accent); }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--brand-darker); color: #fff;
  padding: 26px 0;
}
.stats-row { display: flex; flex-wrap: wrap; gap: 18px 44px; justify-content: center; }
.stat { text-align: center; min-width: 130px; }
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat .lbl { font-size: .82rem; color: #9fb4bd; letter-spacing: .5px; text-transform: uppercase; }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 34px; }
h2.section-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 10px; }
h2.section-title em { font-style: italic; color: var(--brand); }
.section-head p { color: var(--steel); margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 26px; transition: box-shadow .2s; position: relative;
}
.card:hover { box-shadow: 0 8px 26px rgba(14,124,134,.12); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--steel); font-size: .95rem; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .92rem; }

/* ---------- Product cards with badge system (luxopack style) ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .img-slot { min-height: 220px; margin-bottom: 18px; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--gold); color: #16232e; font-size: .72rem; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
}
.badge.eco { background: #d5eddc; color: #1e6b3a; }
.badge.premium { background: #16232e; color: var(--gold); }
.badge.value { background: #e3edf7; color: #1c4f7c; }
.product-card .p-params { margin: 0 0 12px; padding: 0; list-style: none; font-size: .88rem; color: var(--steel); }
.product-card .p-params li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.product-card .p-params li:last-child { border-bottom: 0; }
.product-card .p-params strong { color: var(--ink); font-weight: 600; }

/* ---------- Price tiers ---------- */
.tier {
  border: 1px solid var(--line); border-radius: 12px; padding: 26px; text-align: center;
  background: var(--white); display: flex; flex-direction: column;
}
.tier.hot { border: 2px solid var(--brand); box-shadow: 0 8px 26px rgba(14,124,134,.14); }
.tier .tier-tag { font-size: .78rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--steel); }
.tier .tier-price { font-size: 2rem; font-weight: 800; color: var(--brand-dark); margin: 8px 0 4px; }
.tier .tier-unit { font-size: .85rem; color: var(--steel); margin-bottom: 14px; }
.tier ul { text-align: left; margin: 0 0 16px; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.step .step-n {
  width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--steel); font-size: .92rem; }

/* ---------- Comparison table ---------- */
table.compare { width: 100%; border-collapse: collapse; margin: 10px 0 8px; }
table.compare th, table.compare td {
  border: 1px solid var(--line); padding: 12px 14px; font-size: .92rem; text-align: left; vertical-align: top;
}
table.compare thead th { background: var(--brand-darker); color: #fff; }
table.compare td.yes { color: #1e6b3a; font-weight: 600; }
table.compare td.no { color: #a33; }

/* ---------- FAQ (details/summary, no JS) ---------- */
details.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--white); margin-bottom: 12px; }
details.faq summary {
  cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: .98rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 18px 16px; color: var(--steel); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 14px; font-size: .95rem; color: var(--ink); }
.testimonial .who { font-size: .85rem; color: var(--steel); }
.testimonial .who strong { color: var(--ink); }
/* when .who is used as a top label (value-prop cards), add spacing below */
.testimonial .who:first-child { margin-bottom: 10px; }

/* ---------- Persona + form ---------- */
.persona {
  display: flex; gap: 16px; align-items: center; background: var(--mist);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 24px;
}
.persona .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}
.persona h3 { margin: 0 0 2px; font-size: 1.02rem; }
.persona p { margin: 0; font-size: .85rem; color: var(--steel); }
form.quote-form { display: grid; gap: 16px; max-width: 620px; }
form.quote-form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
form.quote-form input, form.quote-form textarea, form.quote-form select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff;
}
form.quote-form textarea { min-height: 120px; resize: vertical; }
form.quote-form button {
  background: var(--brand); color: #fff; border: 0; font-weight: 700;
  padding: 13px 26px; border-radius: 8px; font-size: 1rem; cursor: pointer; width: max-content;
}
form.quote-form button:hover { background: var(--brand-dark); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- WPForms inquiry form (id=21) theme adaptation ---------- */
div.wpforms-container-full .wpforms-form { max-width: 620px; }
div.wpforms-container-full .wpforms-form .wpforms-field-label {
  font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px;
}
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form input[type=number],
div.wpforms-container-full .wpforms-form select,
div.wpforms-container-full .wpforms-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff; box-shadow: none; min-height: 0;
}
div.wpforms-container-full .wpforms-form textarea { min-height: 120px; resize: vertical; }
div.wpforms-container-full .wpforms-form button[type=submit] {
  background: var(--brand); color: #fff; border: 0; font-weight: 700;
  padding: 13px 26px; border-radius: 8px; font-size: 1rem; cursor: pointer; width: max-content;
  box-shadow: none; text-shadow: none;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover { background: var(--brand-dark); }
div.wpforms-container-full .wpforms-form .wpforms-field { padding: 0 0 16px; }
div.wpforms-container-full .wpforms-form .wpforms-required-label { color: #c0392b; }

/* ---------- Floating WhatsApp CTA ---------- */
.floating-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  background: #1faa54; color: #fff; font-weight: 700; font-size: .92rem;
  padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(20,120,60,.35);
}
.floating-cta:hover { background: #178f45; text-decoration: none; }

/* ---------- Image placeholders ---------- */
.img-slot {
  border: 2px dashed rgba(255,255,255,.45); border-radius: 12px;
  background: rgba(255,255,255,.08); color: #cfe3e8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 200px; text-align: center; padding: 18px; font-size: .9rem;
}
.img-slot strong { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.img-slot.light { border-color: var(--line); background: var(--mist); color: var(--steel); }
.img-slot.light strong { color: var(--ink); }
/* Image not yet supplied: render the slot as a neutral block instead of showing internal briefing notes.
   When the real photo is dropped in, replace the div content with an <img> — this rule stops applying then. */
.img-slot:not(:has(img)) { font-size: 0; }
.img-slot:not(:has(img)) strong { font-size: 0; margin: 0; }

/* ---------- Specs table ---------- */
table.specs { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
table.specs th, table.specs td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-size: .95rem; vertical-align: top;
}
table.specs th { width: 38%; color: var(--steel); font-weight: 600; background: var(--mist); }
table.specs td { font-weight: 500; }

/* ---------- Feature list ---------- */
ul.features { padding-left: 0; list-style: none; margin: 0 0 24px; }
ul.features li { padding-left: 30px; position: relative; margin-bottom: 12px; }
ul.features li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--brand); font-weight: 800;
}

/* ---------- Breadcrumb / page intro ---------- */
nav.breadcrumb { font-size: .88rem; color: var(--steel); padding: 18px 0 0; }
nav.breadcrumb a { color: var(--steel); }
.page-intro { padding: 44px 0 8px; }
.page-intro h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 12px; }
.page-intro p { color: var(--steel); max-width: 720px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 52px 0; text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.cta-band p { margin: 0 0 22px; color: #d9e8ec; }
.cta-band a.btn {
  display: inline-block; background: #fff; color: var(--brand-dark);
  font-weight: 700; padding: 13px 28px; border-radius: 8px;
}
.cta-band a.btn:hover { background: var(--mist); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: #9fb4bd; padding: 40px 0 90px; }
.site-footer a { color: #cfe3e8; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer p { margin: 0 0 6px; font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px;
  font-size: .85rem; display: flex; gap: 16px; flex-wrap: wrap;
}

/* ---------- Notes / TODO markers ---------- */
.todo-note {
  background: #fff8ec; border: 1px solid #f0d9a8; border-radius: 8px;
  padding: 12px 16px; font-size: .85rem; color: #8a6d1f; margin: 20px 0;
}
/* Neutral spec note (published wording, not a build blocker) */
.spec-note {
  font-size: .88rem; color: var(--steel); margin: 16px 0 0;
  padding-left: 12px; border-left: 3px solid var(--brand);
}
.specs .spec-sub { color: var(--steel); font-size: .85em; }

/* ---------- WP admin bar offset (when logged in) ---------- */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
