/*
Theme Name: Vanalum Limited Industrial
Theme URI: https://vanalum.co.uk/
Author: Custom Generated Theme
Description: Upload-ready WordPress theme for Vanalum Limited, a UK manufacturer focused on steel drums and similar containers.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vanalum
*/

:root {
  --ink: #0f2137;
  --ink-2: #182c43;
  --steel: #2e4e68;
  --mist: #edf2f5;
  --paper: #f8f5ef;
  --white: #ffffff;
  --copper: #c7762f;
  --copper-light: #f1b464;
  --text: #29394a;
  --muted: #6a7784;
  --line: rgba(15, 33, 55, .12);
  --shadow: 0 24px 80px rgba(15, 33, 55, .16);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--copper); }
img { max-width: 100%; height: auto; }
strong { color: var(--ink); }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.container { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--copper); font-size: 13px; line-height: 1; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
.eyebrow:before { content: ""; display: inline-block; width: 34px; height: 2px; background: var(--copper); }
h1, h2, h3, h4 { margin: 0 0 18px; color: var(--ink); line-height: 1.05; letter-spacing: -.03em; }
h1 { font-size: clamp(42px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: clamp(22px, 2vw, 30px); }
p { margin: 0 0 18px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: #465768; max-width: 760px; }
.muted { color: var(--muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn, .button, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 28px rgba(199, 118, 47, .24);
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.btn:hover, .button:hover, button.btn:hover { transform: translateY(-2px); background: #af6428; color: #fff; box-shadow: 0 18px 38px rgba(199, 118, 47, .30); }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid rgba(15, 33, 55, .18); box-shadow: none; }
.btn.secondary:hover { color: var(--ink); background: #fff; border-color: rgba(15, 33, 55, .28); }
.btn.light { background: #fff; color: var(--ink); box-shadow: none; }
.btn.light:hover { background: var(--mist); color: var(--ink); }

.site-topbar { background: var(--ink); color: #dce6ef; font-size: 14px; }
.topbar-inner { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.topbar-links a { color: #dce6ef; }
.topbar-links a:hover { color: var(--copper-light); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 239, .92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(15, 33, 55, .10); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo-link { display: inline-flex; align-items: center; }
.logo-link img { width: 226px; max-width: 52vw; display: block; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav ul { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: inline-flex; padding: 10px 13px; border-radius: 999px; color: var(--ink); font-weight: 750; font-size: 15px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: #fff; color: var(--ink); }
.header-cta { margin-left: 6px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.nav-toggle span { display: block; width: 19px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; padding: 86px 0 72px; overflow: hidden; background: radial-gradient(circle at 75% 10%, rgba(199,118,47,.18), transparent 34%), linear-gradient(135deg, #f8f5ef 0%, #e8eef2 100%); }
.hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(15,33,55,.045) 1px, transparent 1px), linear-gradient(rgba(15,33,55,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000, transparent 72%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-copy h1 { max-width: 780px; }
.hero-copy .lead { margin-bottom: 28px; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 780px; }
.trust-item { padding: 18px; background: rgba(255,255,255,.72); border: 1px solid rgba(15,33,55,.10); border-radius: 18px; box-shadow: 0 16px 40px rgba(15,33,55,.06); }
.trust-item span { display: block; color: var(--copper); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; }
.trust-item b { display: block; color: var(--ink); font-size: 18px; }
.hero-visual { position: relative; }
.image-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(15,33,55,.10); }
.image-frame img { width: 100%; display: block; }
.image-frame:before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.56); border-radius: calc(var(--radius) - 8px); z-index: 2; pointer-events: none; }
.hero-badge { position: absolute; left: -22px; bottom: 28px; z-index: 3; max-width: 280px; padding: 18px 20px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 22px 60px rgba(15,33,55,.28); }
.hero-badge b { display: block; color: #fff; font-size: 18px; }
.hero-badge span { color: #cbd8e5; font-size: 14px; }

.protected-image, .image-protect { position: relative; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.protected-image img, .image-protect img, img.protected { pointer-events: none; -webkit-user-drag: none; user-drag: none; }
.protected-image:after, .image-protect:after { content: ""; position: absolute; inset: 0; z-index: 8; background: transparent; pointer-events: auto; }

.intro-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: end; margin-bottom: 38px; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card, .feature-card, .product-card, .process-card, .legal-card { position: relative; overflow: hidden; min-height: 260px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(15,33,55,.10); box-shadow: 0 18px 60px rgba(15,33,55,.07); transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease); }
.service-card:hover, .feature-card:hover, .product-card:hover, .process-card:hover { transform: translateY(-5px); border-color: rgba(199,118,47,.36); box-shadow: 0 26px 80px rgba(15,33,55,.13); }
.card-kicker { color: var(--copper); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 16px; background: #f5ede3; color: var(--copper); font-size: 22px; font-weight: 900; }
.card-link { display: inline-flex; margin-top: 12px; color: var(--ink); font-weight: 850; }
.card-link:after { content: "→"; margin-left: 7px; color: var(--copper); transition: transform .2s var(--ease); }
.card-link:hover:after { transform: translateX(3px); }

.dark-band { background: var(--ink); color: #d4e0ec; position: relative; overflow: hidden; }
.dark-band:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 10%, rgba(199,118,47,.18), transparent 28%), linear-gradient(120deg, rgba(255,255,255,.05), transparent 48%); pointer-events: none; }
.dark-band .container { position: relative; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .lead, .dark-band .muted { color: #c2d0dd; }
.why-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 44px; align-items: start; }
.feature-list { display: grid; gap: 16px; }
.feature-row { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); }
.feature-row .num { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: rgba(199,118,47,.20); color: var(--copper-light); font-weight: 900; }
.feature-row p { margin-bottom: 0; }

.split-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.panel-card { padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(15,33,55,.10); box-shadow: var(--shadow); }
.logistics-band { background: linear-gradient(135deg, #ffffff 0%, #edf3f7 100%); }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li:before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; background: var(--copper); color: #fff; border-radius: 999px; font-size: 14px; font-weight: 900; }

.cta-panel { position: relative; overflow: hidden; padding: 48px; border-radius: 30px; background: linear-gradient(135deg, var(--ink) 0%, #27455f 100%); color: #dce8f2; box-shadow: 0 26px 90px rgba(15,33,55,.22); }
.cta-panel:after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -110px; border: 38px solid rgba(199,118,47,.16); border-radius: 50%; }
.cta-panel h2 { color: #fff; max-width: 760px; }
.cta-panel p { max-width: 780px; color: #cbd8e5; }

.page-hero { padding: 72px 0 54px; background: linear-gradient(135deg, #f8f5ef 0%, #e7eef3 100%); border-bottom: 1px solid rgba(15,33,55,.10); }
.page-hero .lead { max-width: 840px; }
.page-wrap { padding: 72px 0 96px; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.value-card { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(15,33,55,.07); }

.filter-panel { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin: 0 0 26px; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 50px rgba(15,33,55,.06); }
.search-field { width: 100%; min-height: 52px; border: 1px solid rgba(15,33,55,.14); border-radius: 999px; padding: 0 18px; font: inherit; outline: none; background: #f9fafb; }
.search-field:focus { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(199,118,47,.12); }
.filter-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { min-height: 42px; padding: 10px 14px; border: 1px solid rgba(15,33,55,.12); background: #fff; color: var(--ink); border-radius: 999px; font-weight: 800; cursor: pointer; }
.filter-chip.active, .filter-chip:hover { background: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { min-height: 300px; }
.product-card .status { display: inline-flex; margin-top: 8px; padding: 8px 10px; border-radius: 999px; background: #f5ede3; color: #8f4d19; font-weight: 850; font-size: 13px; }
.no-results { display: none; margin-top: 20px; padding: 20px; border: 1px dashed rgba(15,33,55,.24); border-radius: 18px; text-align: center; }
.no-results.is-visible { display: block; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-card:before { counter-increment: step; content: "0" counter(step); display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 16px; background: var(--ink); color: var(--copper-light); font-weight: 900; }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 36px; align-items: start; }
.contact-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-list { display: grid; gap: 16px; margin: 24px 0 28px; }
.contact-item { padding: 16px; border-radius: 16px; background: #f5f7f8; border: 1px solid rgba(15,33,55,.08); }
.contact-item span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.map-frame { overflow: hidden; border-radius: 18px; border: 1px solid var(--line); min-height: 250px; background: #dce4ea; }
.map-frame iframe { display: block; width: 100%; min-height: 300px; border: 0; }
.enquiry-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.enquiry-form .field-full { grid-column: 1 / -1; }
.enquiry-form label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; font-size: 14px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; border: 1px solid rgba(15,33,55,.14); border-radius: 14px; padding: 13px 14px; font: inherit; background: #f9fafb; color: var(--text); outline: none; }
.enquiry-form textarea { min-height: 150px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(199,118,47,.12); background: #fff; }
.form-alert { padding: 14px 16px; margin: 0 0 20px; border-radius: 16px; background: #edf9ee; color: #1f6c2e; border: 1px solid rgba(31,108,46,.22); font-weight: 800; }
.form-alert.error { background: #fff2f2; color: #9b2626; border-color: rgba(155,38,38,.22); }

.legal-page article { max-width: 900px; margin: 0 auto; padding: 42px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.legal-page h2 { font-size: 30px; margin-top: 34px; }
.legal-page ul { padding-left: 22px; }

.site-footer { background: #091828; color: #c7d5e3; }
.footer-cta { padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .9fr; gap: 34px; padding: 52px 0; border-top: 1px solid rgba(255,255,255,.10); }
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer-grid h3 { color: #fff; font-size: 18px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: #c7d5e3; }
.footer-grid a:hover { color: var(--copper-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.10); font-size: 14px; color: #9fb0c1; }

.reveal { animation: riseIn .8s var(--ease) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1080px) {
  .card-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split-panel, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .admin-bar .site-header { top: 46px; }
  .topbar-inner { align-items: flex-start; flex-direction: column; padding: 10px 0; }
  .nav-toggle { display: inline-block; }
  .primary-nav { position: fixed; top: 0; right: -100%; width: min(360px, 86vw); height: 100vh; padding: 110px 24px 24px; background: #fff; box-shadow: -20px 0 60px rgba(15,33,55,.20); transition: right .28s var(--ease); align-items: stretch; flex-direction: column; }
  body.nav-open .primary-nav { right: 0; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .primary-nav a { border-radius: 14px; padding: 13px 14px; background: #f5f7f8; }
  .header-cta { margin-left: 0; width: 100%; }
  .header-cta .btn { width: 100%; }
  .hero { padding-top: 56px; }
  .trust-strip { grid-template-columns: 1fr; }
  .intro-split { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: 1fr; }
  .enquiry-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .section { padding: 64px 0; }
  .card-grid, .product-grid, .process-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card, .feature-card, .product-card, .process-card { min-height: auto; }
  .cta-panel { padding: 30px; border-radius: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
