/* Homepage components. Layout and component styling only — heading and body
   typography is defined once in site.css. */

/* ---- Hero --------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--surface-alt) 0%, #fff 100%); padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-top: 0; max-width: 16ch; }
.hero h1 span { color: var(--amber-700); }
.hero .lead { margin-bottom: var(--space-4); }
.hero__sub { color: var(--text-muted); max-width: 62ch; }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: var(--space-5) 0 var(--space-6); }
.chip-list li { padding: 6px 14px; font-size: 0.875rem; font-weight: 600; color: var(--navy-700); background: #fff; border: 1px solid var(--border-strong); border-radius: 999px; }
.stat-panel { background: var(--navy-800); color: var(--text-on-dark-muted); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-md); border-top: 4px solid var(--amber-500); }
.stat-panel h2 { margin: 0 0 var(--space-4); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-500); }
.stat-list { display: grid; gap: var(--space-3); list-style: none; }
.stat { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4); background: rgba(255, 255, 255, 0.06); border-radius: var(--radius); }
.stat__value { flex: 0 0 6.75rem; font-size: 1.625rem; font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.stat__label { font-size: 0.875rem; line-height: 1.4; }
.stat-panel__foot { margin: var(--space-4) 0 0; padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.875rem; }
.stat-panel__foot strong { color: #fff; }
@media (max-width: 899px) { .hero__grid { grid-template-columns: 1fr; } .hero h1 { max-width: none; } }
@media (max-width: 420px) { .stat { flex-direction: column; align-items: flex-start; gap: 4px; } .stat__value { flex-basis: auto; } }

/* ---- Partner brands ----------------------------------------------------- */
.brand-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.brand-card__media { margin: 0; aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.brand-card__media img { width: 100%; height: 100%; object-fit: contain; }
.brand-card__media--dark { background: #0a0b29; }
.brand-card__media--cover img { object-fit: cover; }
.brand-card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.brand-card__logo { display: flex; align-items: center; height: 44px; margin: 0; }
.brand-card__logo img { height: 100%; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }
.brand-card__caption { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--text-muted); }
.fine-print { margin: var(--space-5) auto 0; max-width: 78ch; font-size: 0.8125rem; line-height: 1.55; color: var(--text-muted); text-align: center; }
.assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6); list-style: none; margin: var(--space-6) 0 0; padding: var(--space-4) var(--space-5); background: var(--surface-alt); border-radius: var(--radius); }
.assurance li { font-weight: 700; color: var(--navy-800); font-size: 0.9375rem; }
.assurance li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; background: var(--amber-500); border-radius: 50%; }

/* ---- Products (tabs) ---------------------------------------------------- */
.tabs { display: none; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.js .tabs { display: flex; }
.js .panel-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tab-panel + .tab-panel { margin-top: var(--space-7); }
.js .tab-panel + .tab-panel { margin-top: 0; }
.tab { min-height: 48px; padding: 0.65rem 1.25rem; font: 700 0.9375rem/1.2 var(--font-body); color: var(--navy-800); background: #fff; border: 2px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.tab:hover { border-color: var(--navy-800); }
.tab[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.tab-panel[hidden] { display: none; }
.panel-intro { margin-bottom: var(--space-4); max-width: 70ch; color: var(--text-muted); font-size: 1.0625rem; }
.item-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0 0 var(--space-5); }
.item-chips li { padding: 4px 12px; font-size: 0.8125rem; font-weight: 700; color: var(--navy-700); background: var(--surface-tint); border: 1px solid #f0d9ae; border-radius: 999px; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; }
.product-card p { color: var(--text-muted); font-size: 0.9375rem; }
.product-card .tag { margin-top: auto; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding: var(--space-5); background: var(--surface-tint); border: 1px solid #f0d9ae; border-radius: var(--radius-lg); }
.callout .card-title { margin: 0 0 4px; }
.callout p { margin: 0; color: var(--text-muted); }

/* ---- Industries --------------------------------------------------------- */
.industry { border-left: 4px solid var(--amber-500); }
.industry p { color: var(--text-muted); font-size: 0.9375rem; }

/* ---- Strengths (dark band) ---------------------------------------------- */
.strength { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); padding: var(--space-5); }
.strength__num { display: block; margin-bottom: var(--space-3); font-size: 0.875rem; font-weight: 800; letter-spacing: 0.12em; color: var(--amber-500); }
.strength p { margin: 0; font-size: 0.9375rem; color: var(--text-on-dark-muted); }

/* ---- Process ------------------------------------------------------------ */
.step { position: relative; text-align: left; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: var(--space-3); font-weight: 800; color: var(--navy-900); background: var(--amber-500); border-radius: 50%; }
.step p { color: var(--text-muted); font-size: 0.9375rem; }
.cta-center { display: flex; justify-content: center; margin-top: var(--space-6); }

/* ---- Service area ------------------------------------------------------- */
.area-layout h2 { margin-top: 0; }
.area-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.area-list { display: grid; gap: var(--space-3); list-style: none; }
.area-list li { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--amber-500); border-radius: var(--radius); font-weight: 700; font-size: 1.125rem; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.area-list small { display: block; margin-top: 2px; font-weight: 400; font-size: 0.875rem; color: var(--text-muted); }
@media (max-width: 899px) { .area-layout { grid-template-columns: 1fr; } }

/* ---- Pricing ------------------------------------------------------------ */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card--featured { border: 2px solid var(--amber-500); }
.price-card__badge { position: absolute; top: -14px; left: var(--space-5); padding: 4px 14px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-900); background: var(--amber-500); border-radius: 999px; }
.price-card__plan { margin: 0 0 var(--space-2); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.price-card__sub { padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 0.9375rem; }
.check-list { list-style: none; flex: 1; margin-bottom: var(--space-5); }
.check-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 0.9375rem; }
.check-list li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--surface-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.7' fill='none' stroke='%238f5400' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; border: 1px solid #f0d9ae; }
.price-card .btn { width: 100%; }

/* ---- Contact ------------------------------------------------------------ */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-intro { color: var(--text-muted); font-size: 1.0625rem; }
.contact-list { list-style: none; display: grid; gap: var(--space-3); }
.contact-item { display: flex; gap: var(--space-4); padding: var(--space-4); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-item__label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-700); margin-bottom: 2px; }
.contact-item__value { font-weight: 600; color: var(--navy-800); line-height: 1.5; font-style: normal; }
.contact-item a { color: var(--navy-800); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn { width: 100%; }
.enq-status { display: none; font-size: 0.9375rem; line-height: 1.6; border-radius: var(--radius-sm); padding: 12px 14px; border: 1px solid var(--border-strong); background: var(--surface-alt); color: var(--text); }
.enq-status.show { display: block; }
.enq-status.err { border-color: var(--error); background: var(--error-bg); color: #7a1a12; }
.enq-status.ok { border-color: var(--success); background: #eaf6ee; color: #14532d; }
.enq-status a { color: inherit; font-weight: 700; }
@media (max-width: 899px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .form-row { grid-template-columns: 1fr; } }

/* ---- Company information ------------------------------------------------ */
.ci-card { max-width: 380px; }
.ci-label { margin: 0 0 6px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-700); }
.ci-value { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--navy-800); }
.ci-note { margin: 4px 0 0; font-size: 0.875rem; color: var(--text-muted); }
