/*
Theme Name: Amend Solutionz
Theme URI: https://amendsolutionz.com
Author: Amend Solutionz & Consultancy
Author URI: https://amendsolutionz.com
Description: Official WordPress theme for Amend Solutionz & Consultancy — a strategic advisory firm serving Education, Corporate, and IT sectors. Custom-built, lightweight and fully editable from the WordPress Customizer.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amend-solutionz
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  --navy:        #04254C;
  --navy-700:    #0A3866;
  --navy-900:    #021830;
  --gray:        #6E7378;
  --gray-600:    #565B60;
  --gray-200:    #C9CCD0;
  --gray-100:    #E7E9EC;
  --red:         #C4181D;
  --red-700:     #9E1216;
  --red-100:     #FBE6E7;

  --white:       #FFFFFF;
  --off-white:   #F6F7F9;
  --paper:       #FBFBFC;
  --ink:         #16202B;
  --ink-soft:    #515A64;
  --border:      #E7E9EC;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(4,37,76,0.06), 0 1px 1px rgba(4,37,76,0.04);
  --shadow-md: 0 12px 32px -12px rgba(4,37,76,0.18);
  --shadow-lg: 0 24px 60px -20px rgba(4,37,76,0.28);
  --ease: cubic-bezier(.22,.78,.32,1);
}

/* =========================================================
   1. RESET
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
body,h1,h2,h3,h4,h5,h6,p,figure,blockquote,ul,ol,dl,dd{ margin:0; }
ul[class],ol[class]{ list-style:none; padding:0; }
img,svg{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }
input,textarea,select,button{ font-family:inherit; font-size:inherit; color:inherit; }
table{ border-collapse:collapse; width:100%; }

/* =========================================================
   2. BASE
   ========================================================= */
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy);
  line-height:1.15;
  font-weight:700;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem,4.4vw,3.6rem); }
h2{ font-size:clamp(1.7rem,3vw,2.5rem); }
h3{ font-size:clamp(1.2rem,2vw,1.5rem); }
h4{ font-size:1.05rem; }
p{ color:var(--ink-soft); }
.lead{ font-size:1.15rem; color:var(--ink-soft); }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.section{ padding:96px 0; }
.section--tight{ padding:64px 0; }
.section--off{ background:var(--off-white); }
.section--navy{ background:var(--navy); color:var(--white); }
.section--navy h2, .section--navy h3{ color:var(--white); }
.section--navy p{ color:rgba(255,255,255,0.78); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--red); font-weight:600; margin-bottom:18px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--red); display:inline-block; }
.section--navy .eyebrow{ color:#FF8489; }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head p{ margin-top:14px; }

.skip-link{
  position:absolute; left:-999px; top:auto; background:var(--navy); color:var(--white);
  padding:12px 20px; z-index:10000; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; top:0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--red); outline-offset:3px; border-radius:4px;
}

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-display); font-weight:600; font-size:0.95rem;
  padding:15px 28px; border-radius:999px; border:1.5px solid transparent;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; transition:transform .25s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }
.btn-primary{ background:var(--red); color:var(--white); box-shadow:0 10px 24px -8px rgba(196,24,29,0.55); }
.btn-primary:hover{ background:var(--red-700); transform:translateY(-2px); box-shadow:0 14px 28px -8px rgba(196,24,29,0.6); }
.btn-outline{ background:transparent; border-color:rgba(4,37,76,0.25); color:var(--navy); }
.btn-outline:hover{ border-color:var(--navy); background:var(--navy); color:var(--white); transform:translateY(-2px); }
.section--navy .btn-outline{ border-color:rgba(255,255,255,0.35); color:var(--white); }
.section--navy .btn-outline:hover{ background:var(--white); color:var(--navy); border-color:var(--white); }
.btn-ghost{ background:rgba(255,255,255,0.08); color:var(--white); border-color:rgba(255,255,255,0.2); }
.btn-ghost:hover{ background:rgba(255,255,255,0.16); transform:translateY(-2px); }
.btn-sm{ padding:10px 18px; font-size:0.85rem; }
.btn-block{ width:100%; }

/* =========================================================
   4. HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:1000; background:rgba(255,255,255,0.92);
  backdrop-filter:saturate(180%) blur(14px); -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent; transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled{ border-color:var(--border); box-shadow:0 6px 24px -16px rgba(4,37,76,0.3); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px 0; }

.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:56px; width:auto; display:block; }
.brand .brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand .brand-text strong{ font-family:var(--font-display); font-weight:700; color:var(--navy); font-size:1.05rem; letter-spacing:0.01em; }
.brand .brand-text span{ font-family:var(--font-mono); font-size:0.62rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--gray); }

.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav ul{ display:flex; align-items:center; gap:4px; }
.main-nav li{ position:relative; }
.main-nav a{
  display:flex; align-items:center; gap:6px; padding:12px 16px; border-radius:999px;
  font-family:var(--font-display); font-weight:600; font-size:0.92rem; color:var(--navy);
  transition:background .25s var(--ease), color .25s var(--ease);
}
.main-nav > ul > li > a:hover, .main-nav > ul > li.current-menu-item > a, .main-nav > ul > li.current-menu-ancestor > a{ background:var(--off-white); color:var(--navy); }
.main-nav .caret{ width:9px; height:9px; transition:transform .25s var(--ease); }
.main-nav li:hover > a .caret, .main-nav li.focus-within > a .caret{ transform:rotate(180deg); }

.sub-menu{
  position:absolute; top:calc(100% + 8px); left:0; min-width:240px;
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:10px; opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.sub-menu li a{ padding:11px 14px; border-radius:8px; font-size:0.88rem; display:flex; gap:10px; align-items:center; }
.sub-menu li a:hover{ background:var(--off-white); }
.sub-menu .dot{ width:7px; height:7px; border-radius:2px; flex:none; }

.header-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none; width:46px; height:46px; align-items:center; justify-content:center;
  background:var(--off-white); border:1px solid var(--border); border-radius:10px; flex:none;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:20px; height:2px; background:var(--navy); position:relative; transition:transform .25s var(--ease), opacity .25s var(--ease), background .25s;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle.is-active span{ background:transparent; }
.nav-toggle.is-active span::before{ top:0; transform:rotate(45deg); background:var(--navy); }
.nav-toggle.is-active span::after{ top:0; transform:rotate(-45deg); background:var(--navy); }

/* =========================================================
   5. HERO
   ========================================================= */
.hero{ position:relative; padding:84px 0 100px; overflow:hidden; background:var(--white); }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:40px; align-items:center; }
.hero h1{ margin-bottom:22px; }
.hero h1 em{ font-style:normal; color:var(--red); }
.hero .lead{ max-width:540px; margin-bottom:34px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:38px; }
.hero-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.hero-tags span{
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.04em; color:var(--gray-600);
  border:1px solid var(--border); padding:7px 12px; border-radius:999px; background:var(--off-white);
}
.hero-art{ position:relative; aspect-ratio:1/1; max-width:480px; margin-inline:auto; }
.hero-art svg{ width:100%; height:100%; }
.hero-bg-grid{
  position:absolute; inset:-10% -10% auto auto; width:60%; height:140%;
  background-image:radial-gradient(var(--gray-100) 1.5px, transparent 1.5px);
  background-size:22px 22px; opacity:0.6; z-index:-1; pointer-events:none;
}

/* =========================================================
   6. INTRO / WHAT WE DO STRIP
   ========================================================= */
.intro-strip{ display:grid; grid-template-columns:0.7fr 1.3fr; gap:48px; align-items:start; }
.intro-strip h2{ position:sticky; top:120px; }

/* =========================================================
   7. SECTOR CARDS
   ========================================================= */
.sector-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.sector-card{
  position:relative; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:36px 30px 32px; transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display:flex; flex-direction:column; height:100%;
}
.sector-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.sector-card .bar{ position:absolute; top:0; left:28px; right:28px; height:3px; border-radius:0 0 4px 4px; }
.sector-card .icon-wrap{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.sector-card .icon-wrap svg{ width:26px; height:26px; }
.sector-card h3{ margin-bottom:10px; }
.sector-card p{ font-size:0.96rem; margin-bottom:18px; }
.sector-card .chips{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px; }
.sector-card .chips span{ font-size:0.74rem; padding:5px 10px; border-radius:999px; background:var(--off-white); color:var(--ink-soft); }
.sector-card .card-link{
  margin-top:auto; display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display);
  font-weight:600; font-size:0.9rem; color:var(--navy);
}
.sector-card .card-link svg{ width:15px; height:15px; transition:transform .25s var(--ease); }
.sector-card:hover .card-link svg{ transform:translateX(4px); }

.tone-navy .icon-wrap, .icon-wrap.tone-navy{ background:rgba(4,37,76,0.08); color:var(--navy); }
.tone-navy .bar{ background:var(--navy); }
.tone-gray .icon-wrap, .icon-wrap.tone-gray{ background:rgba(110,115,120,0.12); color:var(--gray-600); }
.tone-gray .bar{ background:var(--gray); }
.tone-red .icon-wrap, .icon-wrap.tone-red{ background:var(--red-100); color:var(--red); }
.tone-red .bar{ background:var(--red); }

/* =========================================================
   8. WHY CHOOSE / FEATURE GRID
   ========================================================= */
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.feature-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.feature{ padding:28px 24px; border-radius:var(--radius-md); background:var(--off-white); }
.section--navy .feature{ background:rgba(255,255,255,0.06); }
.feature .icon-wrap{ width:46px; height:46px; border-radius:12px; background:var(--white); display:flex; align-items:center; justify-content:center; margin-bottom:18px; color:var(--red); box-shadow:var(--shadow-sm); }
.section--navy .feature .icon-wrap{ background:rgba(255,255,255,0.1); box-shadow:none; }
.feature .icon-wrap svg{ width:22px; height:22px; }
.feature h4{ margin-bottom:8px; }
.section--navy .feature h4{ color:var(--white); }
.feature p{ font-size:0.92rem; margin:0; }

/* =========================================================
   9. INDUSTRY TAGS
   ========================================================= */
.industry-row{ display:flex; flex-wrap:wrap; gap:14px; }
.industry-row .tag{
  display:flex; align-items:center; gap:10px; padding:14px 22px; border:1px solid var(--border);
  border-radius:999px; font-family:var(--font-display); font-weight:600; color:var(--navy); background:var(--white);
}
.industry-row .tag .dot{ width:8px; height:8px; border-radius:2px; background:var(--red); }

/* =========================================================
   10. CTA BANNER
   ========================================================= */
.cta-banner{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--navy); padding:64px 56px; }
.cta-banner-inner{ position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-banner h2{ color:var(--white); margin-bottom:8px; max-width:560px; }
.cta-banner p{ color:rgba(255,255,255,0.75); max-width:480px; margin:0; }
.cta-banner-path{ position:absolute; inset:0; opacity:0.5; pointer-events:none; }

/* =========================================================
   11. SERVICE DETAIL BLOCKS (sector pages)
   ========================================================= */
.page-hero{ padding:64px 0 56px; border-bottom:1px solid var(--border); background:linear-gradient(180deg,var(--off-white),var(--white)); }
.page-hero .crumb{ display:flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:0.78rem; color:var(--gray-600); margin-bottom:18px; }
.page-hero .crumb a:hover{ color:var(--navy); }
.page-hero .crumb svg{ width:12px; height:12px; }
.page-hero h1{ max-width:760px; }
.page-hero .lead{ max-width:680px; margin-top:16px; }
.page-hero-tag{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; font-weight:600; padding:8px 14px; border-radius:999px; margin-bottom:20px; }
.tag-navy{ background:rgba(4,37,76,0.08); color:var(--navy); }
.tag-gray{ background:rgba(110,115,120,0.12); color:var(--gray-600); }
.tag-red{ background:var(--red-100); color:var(--red); }

.service-list{ display:flex; flex-direction:column; gap:0; }
.service-item{
  display:grid; grid-template-columns:64px 1fr; gap:26px; padding:34px 0; border-bottom:1px solid var(--border);
}
.service-item:first-child{ padding-top:0; }
.service-item:last-child{ border-bottom:none; }
.service-item .icon-wrap{ width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; }
.service-item .icon-wrap svg{ width:26px; height:26px; }
.service-item h3{ margin-bottom:8px; }
.service-item p{ margin:0; max-width:660px; }
.service-item .tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.service-item .tags span{ font-size:0.74rem; padding:5px 11px; border-radius:999px; background:var(--off-white); color:var(--ink-soft); border:1px solid var(--border); }

.mini-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.mini-card{ padding:26px 22px; border:1px solid var(--border); border-radius:var(--radius-md); }
.mini-card .icon-wrap{ width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.mini-card .icon-wrap svg{ width:20px; height:20px; }
.mini-card h4{ margin-bottom:6px; font-size:0.98rem; }
.mini-card p{ font-size:0.86rem; margin:0; }

/* =========================================================
   12. ABOUT PAGE
   ========================================================= */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.about-copy p{ margin-bottom:18px; }
.about-copy p:last-child{ margin-bottom:0; }
.about-stats{ display:grid; grid-template-columns:1fr; gap:16px; }
.about-stats .stat-card{ border:1px solid var(--border); border-radius:var(--radius-md); padding:22px 24px; display:flex; gap:16px; align-items:flex-start; }
.about-stats .icon-wrap{ width:44px; height:44px; border-radius:12px; background:var(--off-white); display:flex; align-items:center; justify-content:center; flex:none; color:var(--navy); }
.about-stats .icon-wrap svg{ width:20px; height:20px; }
.about-stats h4{ margin-bottom:4px; font-size:0.95rem; }
.about-stats p{ font-size:0.86rem; margin:0; }

/* =========================================================
   13. CONTACT PAGE
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:52px; align-items:start; }
.contact-card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px; box-shadow:var(--shadow-md); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-family:var(--font-display); font-weight:600; font-size:0.86rem; color:var(--navy); margin-bottom:8px; }
.form-group .req{ color:var(--red); }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 15px; border:1.5px solid var(--border); border-radius:10px; background:var(--off-white);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ border-color:var(--navy); background:var(--white); outline:none; }
.form-group textarea{ resize:vertical; min-height:140px; }
.form-note{ font-size:0.8rem; color:var(--gray-600); margin-top:10px; }
.hp-field{ position:absolute; left:-9999px; opacity:0; height:0; width:0; overflow:hidden; }

.form-alert{ padding:16px 18px; border-radius:10px; margin-bottom:24px; font-size:0.92rem; display:flex; gap:10px; align-items:flex-start; }
.form-alert svg{ width:18px; height:18px; flex:none; margin-top:2px; }
.form-alert.success{ background:#EAF7EE; color:#1E7B34; }
.form-alert.error{ background:var(--red-100); color:var(--red-700); }

.contact-side{ display:flex; flex-direction:column; gap:16px; }
.contact-info-card{ border:1px solid var(--border); border-radius:var(--radius-md); padding:24px; display:flex; gap:16px; align-items:flex-start; }
.contact-info-card .icon-wrap{ width:44px; height:44px; border-radius:12px; background:var(--off-white); display:flex; align-items:center; justify-content:center; flex:none; color:var(--navy); }
.contact-info-card .icon-wrap svg{ width:20px; height:20px; }
.contact-info-card h4{ font-size:0.86rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--gray-600); margin-bottom:6px; font-family:var(--font-mono); font-weight:600; }
.contact-info-card p, .contact-info-card a{ font-size:1rem; color:var(--navy); font-weight:600; font-family:var(--font-display); display:block; }
.social-row{ display:flex; gap:10px; margin-top:6px; }
.social-row a{ width:42px; height:42px; border-radius:10px; background:var(--off-white); display:flex; align-items:center; justify-content:center; color:var(--navy); transition:background .2s, color .2s; }
.social-row a:hover{ background:var(--navy); color:var(--white); }
.social-row svg{ width:18px; height:18px; }

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer{ background:var(--navy); color:rgba(255,255,255,0.8); padding-top:72px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 0.8fr 0.8fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-brand img{ height:50px; margin-bottom:18px; }
.footer-brand p{ color:rgba(255,255,255,0.65); font-size:0.92rem; max-width:300px; }
.footer-col h4{ color:var(--white); font-size:0.78rem; text-transform:uppercase; letter-spacing:0.1em; font-family:var(--font-mono); margin-bottom:18px; font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:rgba(255,255,255,0.7); font-size:0.94rem; transition:color .2s; }
.footer-col a:hover{ color:var(--white); }
.footer-col .contact-line{ display:flex; gap:10px; align-items:flex-start; color:rgba(255,255,255,0.7); font-size:0.92rem; }
.footer-col .contact-line svg{ width:16px; height:16px; flex:none; margin-top:3px; color:#FF8489; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding:26px 0; font-size:0.84rem; color:rgba(255,255,255,0.55); }
.footer-bottom a{ color:rgba(255,255,255,0.55); }
.footer-bottom a:hover{ color:var(--white); }
.footer-legal{ display:flex; gap:18px; flex-wrap:wrap; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; color:var(--white); transition:background .2s; }
.footer-social a:hover{ background:var(--red); }
.footer-social svg{ width:16px; height:16px; }

/* =========================================================
   15. REVEAL ANIMATION
   ========================================================= */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-visible > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay:.12s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay:.33s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay:.4s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay:.47s; }

/* =========================================================
   16. 404 / GENERIC PAGE
   ========================================================= */
.error-page{ padding:120px 0; text-align:center; }
.error-page .code{ font-family:var(--font-mono); font-size:5rem; color:var(--gray-200); font-weight:700; line-height:1; }
.entry-content{ max-width:760px; }
.entry-content > *{ margin-bottom:20px; }
.entry-content h2{ margin-top:36px; }
.entry-content ul{ list-style:disc; padding-left:22px; }
.entry-content ul li{ margin-bottom:8px; color:var(--ink-soft); }

/* =========================================================
   17. RESPONSIVE
   ========================================================= */
@media (max-width:1080px){
  .sector-grid{ grid-template-columns:repeat(3,1fr); gap:18px; }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .mini-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; row-gap:40px; }
}
@media (max-width:920px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ display:none; }
  .intro-strip{ grid-template-columns:1fr; gap:20px; }
  .intro-strip h2{ position:static; }
  .sector-grid{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; gap:36px; }
  .contact-grid{ grid-template-columns:1fr; }
  .cta-banner{ padding:44px 28px; }

  .main-nav.is-open{
    display:block; position:fixed; inset:0; top:84px; background:var(--white); padding:24px; z-index:999;
    overflow-y:auto; height:calc(100vh - 84px);
  }
  .main-nav.is-open ul{ flex-direction:column; align-items:stretch; gap:2px; }
  .main-nav.is-open li{ width:100%; }
  .main-nav.is-open > ul > li > a{ padding:16px 14px; border-radius:10px; width:100%; justify-content:space-between; font-size:1.05rem; }
  .main-nav.is-open .sub-menu{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; display:none;
    background:var(--off-white); margin:4px 0 8px;
  }
  .main-nav.is-open .menu-item-has-children.is-open > .sub-menu{ display:block; }
}
@media (max-width:680px){
  .section{ padding:64px 0; }
  .feature-grid{ grid-template-columns:1fr; }
  .mini-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .cta-banner-inner{ flex-direction:column; align-items:flex-start; }
  .service-item{ grid-template-columns:1fr; }
  .brand .brand-text{ display:none; }
  .header-cta .btn span{ display:none; }
}
