/*
Theme Name: Excel 88
Theme URI: https://excel88.com/
Description: Astra child theme for Excel 88 / KCNS Global, Inc. v0.2 (Trident, 2026-09-17): the colourful build. Palette from the brand's own brochure - the black excel:88 wordmark with its lime "88" - plus teal bands, an orange call-to-action and the tan "Since 1973" badge. Big type, coloured section bands, coloured use tiles, one clear way to order.
Author: Trident (Zakley Inc)
Template: astra
Version: 0.2.0
Text Domain: excel88
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --e88-teal: #0b7a75;
  --e88-teal-dark: #075450;
  --e88-teal-soft: #e3f4f2;
  --e88-lime: #8dc63f;
  --e88-lime-dark: #5f9a1c;
  --e88-lime-soft: #eef8df;
  --e88-orange: #ff7a1a;
  --e88-orange-dark: #d95f05;
  --e88-orange-soft: #fff0e3;
  --e88-sun: #ffcf33;
  --e88-sun-soft: #fff7d6;
  --e88-tan: #635849;
  --e88-ink: #17262b;
  --e88-muted: #4f5f66;
  --e88-line: #d8e6e4;
  --e88-radius: 16px;
}

body, .ast-container, h1, h2, h3, h4, .e88-btn, .main-header-menu { font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; }
body { color: var(--e88-ink); background: #fff; }
.ast-container { max-width: 1140px; }
/* Astra's page-builder layout makes .ast-container a flex row, which lays our hero and
   sections out side by side (the role-card trap). Our bands are blocks. */
.e88-hero .ast-container, .e88-section .ast-container { display: block; }
.e88-hero, .e88-section { width: 100%; }
h2 { font-weight: 800; letter-spacing: -0.01em; }
h3 { font-weight: 800; }

/* header */
.site-header, .ast-primary-header-bar { background: #fff; border-bottom: 4px solid var(--e88-lime); }
.site-title a, .site-title a:hover { color: var(--e88-ink); font-weight: 900; }
.site-description { color: var(--e88-teal); font-weight: 600; }
.main-header-menu .menu-link { color: var(--e88-teal-dark); font-weight: 700; }
.main-header-menu .menu-link:hover, .main-header-menu .current-menu-item > .menu-link { color: var(--e88-orange); }

/* wordmark, drawn in CSS from the brochure's excel:88 */
.e88-wordmark { display: inline-block; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--e88-ink); }
.e88-wordmark .e88-colon { color: var(--e88-lime); margin: 0 .02em; }
.e88-wordmark .e88-88 { color: var(--e88-lime); }
.e88-hero .e88-wordmark { color: #fff; font-size: clamp(3.2rem, 10vw, 7rem); }

/* hero band */
.e88-hero { background: radial-gradient(1200px 500px at 15% -10%, #12a39c 0%, var(--e88-teal) 45%, var(--e88-teal-dark) 100%); color: #fff; padding: 64px 0 56px; text-align: center; position: relative; overflow: hidden; }
.e88-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(141,198,63,.18); }
.e88-hero .ast-container { position: relative; z-index: 1; }
.e88-hero .e88-badge { width: 130px; height: auto; margin: 0 auto 18px; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.e88-hero .e88-tag { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; color: #e9fbf9; margin: 14px auto 26px; max-width: 720px; }
.e88-hero .e88-spray { display: inline-block; background: var(--e88-sun); color: var(--e88-ink); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; transform: rotate(-2deg); margin-bottom: 18px; }
.e88-claims { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 30px; padding: 0; list-style: none; }
.e88-claims li { background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.55); color: #fff; border-radius: 999px; padding: 7px 16px; font-size: .95rem; font-weight: 800; }
.e88-claims li.e88-lime { background: var(--e88-lime); border-color: var(--e88-lime); color: #12300a; }

/* buttons */
.e88-btn, .e88-btn:visited { display: inline-block; background: var(--e88-orange); color: #fff !important; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 1.02rem; text-decoration: none; margin: 6px 6px; box-shadow: 0 8px 20px rgba(255,122,26,.28); transition: transform .12s ease, background .12s ease; }
.e88-btn:hover { background: var(--e88-orange-dark); transform: translateY(-1px); }
.e88-btn.e88-btn-ghost, .e88-btn.e88-btn-ghost:visited { background: #fff; color: var(--e88-teal-dark) !important; border: 2px solid #fff; box-shadow: none; }
.e88-section .e88-btn.e88-btn-ghost, .e88-section .e88-btn.e88-btn-ghost:visited { border-color: var(--e88-teal); color: var(--e88-teal-dark) !important; }
.e88-btn.e88-btn-lime, .e88-btn.e88-btn-lime:visited { background: var(--e88-lime); color: #12300a !important; box-shadow: 0 8px 20px rgba(141,198,63,.3); }
.e88-btn.e88-btn-lime:hover { background: var(--e88-lime-dark); color: #fff !important; }

/* sections and bands */
.e88-section { padding: 56px 0; }
.e88-section h2 { color: var(--e88-teal-dark); font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.e88-section .e88-lead { font-size: 1.12rem; color: var(--e88-muted); max-width: 820px; }
.e88-band-teal { background: var(--e88-teal-soft); }
.e88-band-lime { background: var(--e88-lime-soft); }
.e88-band-sun { background: var(--e88-sun-soft); }
.e88-band-orange { background: var(--e88-orange-soft); }
.e88-band-dark { background: var(--e88-teal-dark); color: #fff; }
.e88-band-dark h2 { color: #fff; }
.e88-band-dark p { color: #d8f0ee; }
.e88-kicker { display: inline-block; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--e88-orange); margin-bottom: 6px; }

/* cards */
.e88-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 22px; }
.e88-card { background: #fff; border: 1px solid var(--e88-line); border-radius: var(--e88-radius); padding: 22px 22px 20px; border-top: 6px solid var(--e88-teal); box-shadow: 0 6px 18px rgba(11,122,117,.06); }
.e88-card:nth-child(4n+2) { border-top-color: var(--e88-lime); }
.e88-card:nth-child(4n+3) { border-top-color: var(--e88-orange); }
.e88-card:nth-child(4n+4) { border-top-color: var(--e88-sun); }
.e88-card h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--e88-ink); }
.e88-card p { margin: 0; color: var(--e88-muted); }
.e88-card .e88-ratio { display: inline-block; background: var(--e88-teal); color: #fff; font-weight: 900; border-radius: 999px; padding: 3px 12px; font-size: .85rem; margin-bottom: 8px; }
.e88-card:nth-child(4n+2) .e88-ratio { background: var(--e88-lime-dark); }
.e88-card:nth-child(4n+3) .e88-ratio { background: var(--e88-orange); }
.e88-card:nth-child(4n+4) .e88-ratio { background: #b8900a; }

/* where it works: three coloured columns from the brochure */
.e88-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 22px; }
.e88-col { border-radius: var(--e88-radius); padding: 22px 24px; color: #fff; }
.e88-col h3 { color: #fff; margin: 0 0 10px; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; }
.e88-col ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 14px; }
.e88-col li { padding: 4px 0; font-weight: 600; break-inside: avoid; }
.e88-col li::before { content: "\2713"; margin-right: 8px; font-weight: 900; }
.e88-col.e88-factory { background: linear-gradient(160deg, var(--e88-teal), var(--e88-teal-dark)); }
.e88-col.e88-home { background: linear-gradient(160deg, var(--e88-orange), var(--e88-orange-dark)); }
.e88-col.e88-auto { background: linear-gradient(160deg, var(--e88-lime), var(--e88-lime-dark)); }

/* dilution table */
.e88-dilution { width: 100%; border-collapse: separate; border-spacing: 0; margin: 14px 0 6px; border: 1px solid var(--e88-line); border-radius: var(--e88-radius); overflow: hidden; }
.e88-dilution th, .e88-dilution td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--e88-line); vertical-align: top; }
.e88-dilution thead th { background: var(--e88-teal); color: #fff; font-weight: 800; }
.e88-dilution tbody tr:nth-child(even) { background: var(--e88-teal-soft); }
.e88-dilution td:nth-child(2) { white-space: nowrap; }
.e88-dilution td:nth-child(2) span { display: inline-block; background: var(--e88-lime); color: #12300a; font-weight: 900; border-radius: 999px; padding: 3px 12px; }
.e88-dilution tr:nth-child(3n) td:nth-child(2) span { background: var(--e88-orange); color: #fff; }
.e88-dilution tr:nth-child(3n+1) td:nth-child(2) span { background: var(--e88-sun); color: var(--e88-ink); }

/* before / during / after gallery */
.e88-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.e88-gallery figure { margin: 0; background: #fff; border-radius: var(--e88-radius); overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.e88-gallery img { width: 100%; height: 230px; object-fit: cover; display: block; }
.e88-gallery figcaption { padding: 10px 14px; font-weight: 800; color: #fff; text-align: center; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.e88-gallery .e88-before figcaption { background: var(--e88-tan); }
.e88-gallery .e88-during figcaption { background: var(--e88-orange); }
.e88-gallery .e88-after figcaption { background: var(--e88-lime-dark); }

/* brochure callout */
.e88-brochure { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: #fff; border: 2px dashed var(--e88-lime); border-radius: var(--e88-radius); padding: 22px 26px; margin-top: 26px; }
.e88-brochure .e88-brochure-icon { width: 64px; height: 84px; border-radius: 8px; background: linear-gradient(160deg, var(--e88-teal), var(--e88-lime)); position: relative; flex: none; }
.e88-brochure .e88-brochure-icon::after { content: "PDF"; position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .1em; }
.e88-brochure h3 { margin: 0 0 4px; }
.e88-brochure p { margin: 0; color: var(--e88-muted); }
@media (max-width: 700px) { .e88-brochure { grid-template-columns: 1fr; text-align: center; } .e88-brochure .e88-brochure-icon { margin: 0 auto; } }

/* stats strip */
.e88-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 22px; }
.e88-stat { background: rgba(255,255,255,.12); border-radius: var(--e88-radius); padding: 18px; text-align: center; }
.e88-stat strong { display: block; font-size: 2.2rem; font-weight: 900; color: var(--e88-lime); line-height: 1.1; }
.e88-stat span { color: #d8f0ee; font-weight: 600; }

/* contact */
.e88-contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: 18px; }
@media (max-width: 780px) { .e88-contact { grid-template-columns: 1fr; } }
.e88-contact .wpcf7 label { font-weight: 700; color: var(--e88-teal-dark); }
.e88-contact .wpcf7 input[type="text"], .e88-contact .wpcf7 input[type="email"], .e88-contact .wpcf7 input[type="tel"], .e88-contact .wpcf7 textarea, .e88-contact .wpcf7 select { width: 100%; border: 2px solid var(--e88-line); border-radius: 10px; padding: 11px 13px; background: #fff; }
.e88-contact .wpcf7 input:focus, .e88-contact .wpcf7 textarea:focus, .e88-contact .wpcf7 select:focus { border-color: var(--e88-teal); outline: none; }
.e88-contact .wpcf7 input[type="submit"] { background: var(--e88-orange); color: #fff; border: 0; border-radius: 999px; padding: 13px 28px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(255,122,26,.28); }
.e88-contact .wpcf7 input[type="submit"]:hover { background: var(--e88-orange-dark); }
.e88-address { background: var(--e88-teal-dark); color: #fff; border-radius: var(--e88-radius); padding: 26px; }
.e88-address strong { color: var(--e88-lime); display: block; margin-bottom: 2px; }
.e88-address p { color: #e6f6f4; }
.e88-address .e88-phone { font-size: 1.6rem; font-weight: 900; color: #fff; display: block; margin: 2px 0 6px; }
.e88-fine { font-size: .88rem; color: var(--e88-muted); }
.e88-address .e88-fine { color: #bfe3df; }

/* footer */
.site-footer, .ast-footer-copyright, .ast-small-footer { background: var(--e88-ink); color: #cfe6e3; }
.site-footer a { color: var(--e88-lime); }
