/* ===========================================================
 Lanes Exports homepage concept
 Sister site to lanesvets.com. shares brand language but
 has its own B2B character: tighter grid, less curvature,
 blue-dominant palette, more "regulatory premium" feel.
 =========================================================== */

:root{
 /* Refreshed palette matched to new Lanes Vets Exports logo:
 bright lime green + deep navy */
 --blue: #1E4A78;
 --blue-deep: #14375B; /* logo navy */
 --blue-ink: #0A2544; /* deepest navy for headings */
 --green: #A5D149; /* logo lime green */
 --green-deep: #8AB637; /* deeper lime for hover / accents */
 --tint: #F4F8EC; /* very pale lime cream */
 --tint-2: #E8F0D8;
 --ink: #14213A;
 --ink-soft: #4B5670;
 --rule: rgba(20,55,91,.10);
 --shadow-sm: none;
 --shadow: none;
 --shadow-lg: none;
 /* Type is driven entirely from these five variables.
    Swap --display / --sans to audition a different face (see type-picker.html). */
 --display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
 --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
 --h-weight: 700;
 --h-weight-sub: 600;
 --h-track: -.022em;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
 font-family: var(--sans);
 color: var(--ink);
 background: #fff;
 line-height: 1.65;
 -webkit-font-smoothing: antialiased;
 overflow-x: hidden;
}
img,svg,video{display:block;max-width:100%}
a{color:var(--blue-deep);text-decoration:none}
a:hover{color:var(--blue)}

.wrap{max-width:1320px;margin:0 auto;padding:0 28px}
.wrap-narrow{max-width:1080px;margin:0 auto;padding:0 28px}

h1,h2,h3,h4{
 font-family: var(--display);
 font-weight: var(--h-weight);
 letter-spacing: var(--h-track);
 line-height: 1.1;
 color: var(--blue-ink);
}
h1{font-size:clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.05}
h2.lead-head{font-size:clamp(1.95rem, 3.8vw, 3.2rem); margin-bottom: 28px}
h2{font-size:clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 22px}
h3{font-size:clamp(1.1rem, 1.6vw, 1.35rem); font-weight: var(--h-weight-sub)}

.eyebrow{
 display:inline-flex; align-items: center; gap: 8px;
 font-family: var(--sans);
 font-weight:700;
 font-size:.78rem;
 text-transform:uppercase;
 letter-spacing:.18em;
 color: var(--blue-deep);
 padding: 8px 14px;
 background: var(--tint-2);
 border-radius: 99px;
 margin-bottom: 22px;
}
.eyebrow.green{color: var(--green-deep); background: rgba(165, 209, 73,.12)}
.eyebrow .dot{width:6px; height:6px; border-radius:50%; background: currentColor}

/* ============== Buttons ============== */
.btn{
 display:inline-flex; align-items:center; gap:10px;
 padding: 16px 26px;
 font-family: var(--sans);
 font-weight: 700;
 font-size: .98rem;
 border-radius: 99px;
 border: 2px solid transparent;
 cursor: pointer;
 transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
 white-space: nowrap;
}
.btn svg{width:18px; height:18px}
.btn-primary{background: var(--blue); color:#fff; box-shadow: var(--shadow-sm)}
.btn-primary:hover{background: var(--blue-deep); color:#fff; transform: translateY(-2px); box-shadow: var(--shadow)}
.btn-green{background: var(--green); color: var(--blue-ink); box-shadow: var(--shadow-sm)}
.btn-green:hover{background: var(--green-deep); color: var(--blue-ink); transform: translateY(-2px); box-shadow: var(--shadow)}
.btn-ghost{background: rgba(255,255,255,.16); color:#fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(8px)}
.btn-ghost:hover{background: rgba(255,255,255,.28); color:#fff}
.btn-outline{background: transparent; color: var(--blue-deep); border-color: var(--blue-deep)}
.btn-outline:hover{background: var(--blue-deep); color:#fff}
.btn-light{background:#fff; color: var(--blue-ink)}
.btn-light:hover{background: var(--tint); color: var(--blue-deep)}

/* ============== Header ============== */
.site-header{
 position: fixed; top: 0; left: 0; right: 0;
 z-index: 50;
 background: rgba(255,255,255,.92);
 backdrop-filter: blur(14px);
 padding: 18px 0;
 transition: padding .3s ease, box-shadow .3s ease, background .3s ease;

}
.site-header.scrolled{padding: 10px 0; box-shadow: 0 2px 18px rgba(20,33,58,.06)}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:32px}

.logo-block{display:flex; align-items:center; gap: 14px}
.logo-block img{height: 54px; width:auto; transition: height .3s ease}
.site-header.scrolled .logo-block img{height: 44px}
.logo-divider{width:1px; height: 36px; background: var(--rule)}
.logo-mark{
 font-family: var(--display);
 font-weight: 700;
 font-size: 1.05rem;
 color: var(--blue-ink);
 letter-spacing: -0.02em;
 line-height: 1.1;
}
.logo-mark small{display:block; font-size: .65rem; font-weight: 700; letter-spacing: .22em; color: var(--green-deep); text-transform: uppercase; margin-top: 2px}

.main-nav{display:flex; gap: 4px; list-style:none; align-items:center}
.main-nav > li{position:relative}
.main-nav > li > a{
 display:block;
 padding: 10px 14px;
 font-weight: 600;
 font-size: .92rem;
 color: var(--ink);
 border-radius: 99px;
}
.main-nav > li > a:hover{background: var(--tint); color: var(--blue-deep)}

.head-cta{display:flex; gap: 10px; align-items: center}
.back-to-main{
 display:inline-flex; align-items:center; gap: 10px;
 padding: 16px 26px;
 font-size: .98rem;
 font-weight: 700;
 letter-spacing: 0;
 border-radius: 99px;
 color: var(--blue-deep);
 background: transparent;
 border: 2px solid var(--blue-deep);
 transition: color .2s ease, border-color .2s ease, background .25s ease, transform .25s ease;
}
.back-to-main:hover{background: var(--blue-deep); color: #fff; transform: translateY(-2px)}
.back-to-main svg{width: 16px; height: 16px}

.burger{display:none; flex-direction:column; gap:5px; background:transparent; border:0; cursor:pointer; padding: 8px}
.burger span{display:block; width: 28px; height: 3px; background: var(--blue-ink); border-radius:2px}

.mobile-menu{
 position: fixed; inset: 0;
 background: var(--blue-ink);
 z-index: 60;
 padding: 100px 32px 40px;
 transform: translateX(100%);
 transition: transform .35s ease;
 display:flex; flex-direction:column; gap: 18px;
 overflow-y:auto;
}
.mobile-menu.open{transform: translateX(0)}
.mobile-menu a{color:#fff; font-size:1.4rem; font-weight:600; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12)}
.mobile-menu .btn{justify-content:center; font-size:1rem; border-bottom:0}
.mm-close{position: absolute; top: 20px; right: 24px; background: transparent; border: 0; color:#fff; font-size: 2.4rem; cursor:pointer; line-height:1}

/* ============== Hero ============== */
.hero{
 position: relative;
 min-height: 92vh;
 padding-top: 160px;
 padding-bottom: 100px;
 overflow: hidden;
 color:#fff;
 display:flex;
 align-items:center;
 background: var(--blue-ink);
}
.hero-bg{
 position:absolute; inset:0;
 width:100%; height:100%;
 object-fit:cover;
 z-index:0;
}
.hero-overlay{
 position:absolute; inset:0;
 background:
 linear-gradient(110deg, rgba(14,39,71,.85) 0%, rgba(14,39,71,.58) 50%, rgba(14,39,71,.35) 100%),
 linear-gradient(180deg, rgba(14,39,71,.2) 0%, rgba(14,39,71,0) 30%, rgba(14,39,71,.6) 100%);
 z-index:1;
}
/* subtle grid overlay for technical/regulatory feel */
.hero-grid{
 position: absolute; inset: 0;
 background-image:
 linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
 linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
 background-size: 60px 60px;
 z-index: 1;
}
.hero .wrap{position:relative; z-index:2; width:100%}
.hero-content{max-width: 920px}
.hero .eyebrow{background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px)}
.hero h1{color:#fff; margin-bottom: 18px}
.hero h1 em{color:#A6E0A4; font-style: normal}
.hero .lede{
 font-size: 1.2rem;
 max-width: 620px;
 margin-top: 26px;
 color: rgba(255,255,255,.92);
}
.hero-actions{display:flex; flex-wrap:wrap; gap: 14px; margin-top: 44px}
.hero-actions .btn-light{color: var(--blue-ink)}

/* Floating spec badge */
.hero-spec{
 position:absolute;
 right: 32px;
 top: 180px;
 z-index: 3;
 background:#fff;
 border-radius: 20px;
 padding: 22px 24px;
 width: 280px;
 box-shadow: var(--shadow-lg);
 color: var(--ink);
}
.hero-spec .lbl{
 font-size: .68rem;
 font-weight: 700;
 letter-spacing: .18em;
 text-transform: uppercase;
 color: var(--green-deep);
 margin-bottom: 6px;
}
.hero-spec h4{font-size: 1.05rem; margin-bottom: 8px; color: var(--blue-ink)}
.hero-spec p{font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px}
.hero-spec .tel{
 display:inline-block;
 font-family: var(--display);
 font-weight: 700;
 font-size: 1.2rem;
 color: var(--blue-deep);
 letter-spacing: -0.01em;
}

/* Hero footer signature */
.hero-foot{
 position: absolute;
 bottom: 40px; left:0; right:0;
 z-index: 2;
 padding: 0 28px;
}
.hero-foot-inner{
 max-width: 1320px; margin: 0 auto;
 display:flex; justify-content: space-between;
 align-items: center;
 font-size:.78rem; letter-spacing: .14em; text-transform: uppercase;
 color: rgba(255,255,255,.65);
 font-weight: 700;
}
.hero-foot-inner .sig{display:flex; gap: 8px; align-items:center}
.hero-foot-inner .sig::before{content:""; display:inline-block; width: 28px; height: 1px; background: rgba(255,255,255,.6)}

/* ============== Reveal ============== */
.reveal{opacity:0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease}
.reveal.in{opacity:1; transform: translateY(0)}

/* ============== Trust strip ============== */
.trust{
 background: #fff;
 padding: 60px 0;
 border-bottom: 1px solid var(--rule);
}
.trust-grid{
 display:grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 0;
}
.trust-item{padding: 0 28px; border-right: 1px solid var(--rule)}
.trust-item:last-child{border-right: 0}
.trust-item .num{
 font-family: var(--display);
 font-size: 2.6rem;
 font-weight: 700;
 color: var(--blue-deep);
 line-height: 1;
 letter-spacing: -0.03em;
}
.trust-item .num small{font-size: 1.2rem; color: var(--green-deep)}
.trust-item .lbl{
 font-size: .82rem;
 color: var(--ink-soft);
 margin-top: 8px;
 line-height: 1.4;
}

/* ============== Welcome / intro ============== */
.intro{padding: 130px 0; background: #fff}
.intro-grid{
 display:grid;
 grid-template-columns: 1.1fr 1fr;
 gap: 80px;
 align-items: center;
}
.intro-copy p{margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem}
.intro-copy .btn{margin-top: 30px}
.intro-quote{
 background: var(--blue-ink);
 color: #fff;
 border-radius: 24px;
 padding: 56px 48px;
 position: relative;
 overflow: hidden;
}
.intro-quote::before{
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(circle at 90% 10%, rgba(165, 209, 73,.22) 0%, transparent 50%);
}
.intro-quote .mark{
 font-family: var(--display); font-size: 5rem; line-height: .7;
 color: var(--green); position: relative;
}
.intro-quote .q{
 font-family: var(--display);
 font-size: 1.6rem;
 font-weight: 600;
 line-height: 1.3;
 letter-spacing: -0.02em;
 color: #fff;
 margin-top: 14px;
 position: relative;
}
.intro-quote .by{
 margin-top: 28px;
 font-size: .78rem;
 letter-spacing: .14em;
 text-transform: uppercase;
 font-weight: 700;
 color: rgba(255,255,255,.7);
 position: relative;
}

/* ============== What we certify ============== */
.certify{padding: 130px 0; background: var(--tint)}
.certify-head{
 display:grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: end;
 margin-bottom: 60px;
}
.certify-head p{color: var(--ink-soft); font-size: 1.05rem}

.cert-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px}
.cert-card{
 background: var(--tint);
 border-radius: 20px;
 padding: 32px 28px;
 transition: background .25s ease;
}
.cert-card:hover{background: var(--tint-2)}
.cert-card .icn{
 width: 56px; height: 56px;
 display:flex; align-items:center; justify-content:center;
 background: #fff;
 color: var(--blue-deep);
 border-radius: 16px;
 margin-bottom: 20px;
}
.cert-card:nth-child(2) .icn{color: var(--green-deep)}
.cert-card:nth-child(5) .icn{color: var(--green-deep)}
.cert-card h3{margin-bottom: 8px}
.cert-card p{color: var(--ink-soft); font-size: .96rem}
.cert-card ul{
 list-style: none;
 margin-top: 12px;
 display: flex; flex-wrap: wrap; gap: 6px;
}
.cert-card ul li{
 font-size: .72rem;
 padding: 4px 10px;
 background: #fff;
 border-radius: 99px;
 color: var(--ink-soft);
 font-weight: 600;
}

/* ============== Process ============== */
.process{padding: 130px 0; background: var(--blue-ink); color: #fff; position: relative; overflow: hidden}
.process::before{
 content: "";
 position: absolute;
 inset: 0;
 background:
 radial-gradient(circle at 20% 80%, rgba(30, 74, 120,.35) 0%, transparent 40%),
 radial-gradient(circle at 80% 20%, rgba(165, 209, 73,.18) 0%, transparent 40%);
}
.process .wrap{position: relative; z-index: 1}
.process-head{margin-bottom: 70px; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto}
.process .eyebrow{background: rgba(255,255,255,.14); color: #fff}
.process h2{color: #fff}
.process-head p{margin-top: 18px; color: rgba(255,255,255,.86); font-size: 1.1rem}

.steps{
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 22px;
 counter-reset: stepct;
}
.step{
 background: rgba(255,255,255,.05);
 border: 1px solid rgba(255,255,255,.12);
 backdrop-filter: blur(14px);
 border-radius: 24px;
 padding: 36px 32px;
 position: relative;
 counter-increment: stepct;
}
.step::before{
 content: "0" counter(stepct);
 position: absolute;
 top: 28px; right: 32px;
 font-family: var(--display);
 font-size: 3.2rem;
 font-weight: 700;
 color: rgba(166,224,164,.45);
 line-height: 1;
 letter-spacing: -0.04em;
}
.step .icn{
 width: 58px; height: 58px;
 display:flex; align-items:center; justify-content:center;
 background: var(--green);
 color: #fff;
 border-radius: 16px;
 margin-bottom: 26px;
}
.step h3{color: #fff; font-size: 1.4rem; margin-bottom: 10px}
.step p{color: rgba(255,255,255,.86); font-size: .96rem}

/* ============== EHC explainer ============== */
.ehc{padding: 130px 0; background: var(--tint)}
.ehc-grid{
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 80px;
 align-items: center;
}
.ehc-copy p{margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem}
.ehc-copy .btn{margin-top: 30px}
.ehc-visual{
 background: #fff;
 border-radius: 24px;
 padding: 40px;
 box-shadow: var(--shadow);
 position: relative;
}
.ehc-visual .stamp{
 position: absolute;
 top: -22px; right: -22px;
 width: 110px; height: 110px;
 background: var(--green);
 color: #fff;
 border-radius: 50%;
 display:flex; align-items:center; justify-content:center;
 text-align: center;
 font-family: var(--display);
 font-size: .78rem;
 font-weight: 700;
 letter-spacing: .1em;
 text-transform: uppercase;
 line-height: 1.2;
 transform: rotate(-12deg);
 padding: 10px;
 box-shadow: var(--shadow);
 animation: bob 7s ease infinite;
}
@keyframes bob{
 0%,100%{transform: rotate(-12deg) translateY(0)}
 50%{transform: rotate(-9deg) translateY(-4px)}
}
.cert-doc{
 border: 2px dashed var(--rule);
 border-radius: 14px;
 padding: 28px;
 background: var(--tint);
}
.cert-doc .doc-head{
 display:flex; justify-content: space-between;
 font-family: var(--sans);
 font-size: .72rem;
 font-weight: 600;
 color: var(--ink-soft);
 letter-spacing: .12em;
 text-transform: uppercase;
}
.cert-doc h4{
 font-size: 1.2rem;
 margin: 14px 0 4px;
 color: var(--blue-ink);
}
.cert-doc .sub{font-size: .78rem; color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; font-weight: 700}
.cert-doc .fields{
 margin-top: 22px;
 display:grid;
 grid-template-columns: 1fr 1fr;
 gap: 14px;
}
.cert-doc .field .k{font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); font-weight: 700}
.cert-doc .field .v{font-family: var(--display); font-size: 1rem; color: var(--blue-ink); font-weight: 700; margin-top: 2px}
.cert-doc .signed{
 margin-top: 22px;
 padding-top: 22px;
 border-top: 1px solid var(--rule);
 display: flex; gap: 20px; align-items: center;
}
.cert-doc .signed .sig-line{
 flex: 1;
 font-family: "Caveat", cursive;
 font-size: 1.6rem;
 color: var(--blue-deep);
 letter-spacing: 0;
}
.cert-doc .signed .sig-label{font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .14em; font-weight: 700}

/* ============== Markets / globe ============== */
.markets{padding: 130px 0; background: #fff}
.markets-grid{
 display: grid;
 grid-template-columns: 1fr 1.1fr;
 gap: 80px;
 align-items: center;
}
.markets-copy p{margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem}
.markets-list{
 list-style: none;
 margin-top: 28px;
 display:grid;
 grid-template-columns: 1fr 1fr;
 gap: 10px 24px;
}
.markets-list li{
 display:flex; gap: 10px; align-items: center;
 font-size: .95rem;
 color: var(--ink);
 font-weight: 600;
}
.markets-list li::before{
 content: "";
 display:inline-block;
 width: 6px; height: 6px;
 border-radius: 50%;
 background: var(--green);
}
.markets-visual{
 position: relative;
 border-radius: 28px;
 aspect-ratio: 4/5;
 overflow: hidden;
 box-shadow: var(--shadow);
}
.markets-map{width: 100%; height: 100%; object-fit: cover}
.globe-svg{width: 100%; height: 100%; max-width: 460px}
.market-pin{
 position: absolute;
 background: var(--blue);
 color: #fff;
 padding: 6px 12px;
 border-radius: 99px;
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .04em;
 box-shadow: var(--shadow-sm);
}
.market-pin::after{
 content: "";
 position: absolute;
 width: 10px; height: 10px;
 border-radius: 50%;
 background: var(--green);
 box-shadow: 0 0 0 4px rgba(165, 209, 73,.25);
 top: 50%; transform: translateY(-50%);
}
.market-pin.left::after{left: -16px}
.market-pin.right::after{right: -16px}
.market-pin.p1{top: 22%; right: 18%}
.market-pin.p2{top: 48%; left: 14%}
.market-pin.p3{bottom: 24%; right: 24%}

/* ============== Team (no faces) ============== */
.team-x{padding: 130px 0; background: var(--tint)}
.team-x-head{
 display:grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: end;
 margin-bottom: 60px;
}
.team-x-head p{color: var(--ink-soft); font-size: 1.05rem}
.team-cards{display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px}
.team-card{
 background: var(--tint);
 border-radius: 18px;
 padding: 28px;
 transition: background .25s ease;
}
.team-card:hover{background: var(--tint-2)}
.team-card .av{
 width: 56px; height: 56px;
 border-radius: 50%;
 background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
 color: #fff;
 font-family: var(--display);
 font-size: 1.3rem;
 font-weight: 700;
 display:flex; align-items:center; justify-content:center;
 margin-bottom: 18px;
}
.team-card:nth-child(even) .av{background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%)}
.team-card .role{
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .14em;
 text-transform: uppercase;
 color: var(--green-deep);
 margin-bottom: 6px;
}
.team-card h3{font-size: 1.1rem; margin-bottom: 4px}
.team-card .quals{font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--ink-soft); margin-top: 8px; letter-spacing: .01em}

/* ============== Independent / why ============== */
.why{padding: 130px 0; background: #fff}
.why-grid{
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 26px;
 margin-top: 60px;
}
.why-block{
 padding: 32px 26px;
 border-radius: 18px;
 background: var(--tint);
}
.why-block .num{
 font-family: var(--display);
 font-size: 1.05rem;
 font-weight: 700;
 letter-spacing: .04em;
 color: var(--green-deep);
}
.why-block h3{margin-top: 12px; margin-bottom: 8px; font-size: 1.15rem}
.why-block p{font-size: .92rem; color: var(--ink-soft)}

.why-intro{
 max-width: 760px;
 margin: 0 auto;
 text-align: center;
}
.why-intro p{margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem}
.why-intro .eyebrow{display:inline-flex}

/* ============== Bridge back to small animal ============== */

/* ============== CTA / contact ============== */
.cta{
 padding: 110px 0;
 background: var(--blue-deep);
 color: #fff;
 position: relative;
 overflow: hidden;
}
.cta::before{
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(circle at 80% 30%, rgba(165, 209, 73,.16) 0%, transparent 50%);
}
.cta .wrap{position: relative}
.cta-grid{
 display:grid;
 grid-template-columns: 1.1fr 1fr;
 gap: 60px;
 align-items: center;
}
.cta-grid .eyebrow{background: rgba(255,255,255,.14); color:#fff}
.cta-grid h2{color: #fff}
.cta-grid p{color: rgba(255,255,255,.88); font-size: 1.05rem; margin-top: 16px; max-width: 540px}
.cta-buttons{display:flex; gap: 14px; margin-top: 30px; flex-wrap: wrap}

.cta-card{
 background: rgba(255,255,255,.06);
 backdrop-filter: blur(14px);
 border: 1px solid rgba(255,255,255,.16);
 border-radius: 24px;
 padding: 36px;
}
.cta-card .row{margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12)}
.cta-card .row:last-child{margin-bottom: 0; padding-bottom: 0; border-bottom: 0}
.cta-card .k{font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700}
.cta-card .v{font-family: var(--display); font-size: 1.4rem; color: #fff; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em}
.cta-card a.v{color: #A6E0A4}
.cta-card a.v:hover{color: #fff}

/* ============== Footer ============== */
.site-footer{background: var(--blue-ink); color: rgba(255,255,255,.78); padding: 90px 0 30px}
.foot-grid{
 display:grid;
 grid-template-columns: 1.5fr 1fr 1fr 1fr;
 gap: 50px;
 padding-bottom: 40px;
}
.foot-col h4{color:#fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 22px}
.foot-col ul{list-style:none; display:grid; gap: 10px}
.foot-col a{color: rgba(255,255,255,.78); font-size:.93rem}
.foot-col a:hover{color:#fff}
.foot-logo img{height: 56px; margin-bottom: 18px; background:#fff; padding: 6px; border-radius: 10px}
.foot-blurb{font-size:.92rem; color: rgba(255,255,255,.7); max-width: 320px; line-height: 1.7}
.foot-bottom{
 display:flex; justify-content:space-between; align-items:center;
 padding-top: 26px; gap: 30px; flex-wrap: wrap;
}
.foot-bottom .smallprint{font-size: .82rem; color: rgba(255,255,255,.55)}
.foot-bottom .smallprint a{color: rgba(255,255,255,.85)}
.foot-bottom .smallprint a:hover{color:#fff}
.foot-legal{display:flex; gap: 20px; font-size:.82rem}
.foot-legal a{color: rgba(255,255,255,.7)}

/* ============== Responsive ============== */
@media (max-width: 1080px){
 .main-nav{display:none}
 .burger{display:flex}
 .hero-spec{display:none}
 .intro-grid, .ehc-grid, .markets-grid, .cta-grid{grid-template-columns: 1fr; gap: 60px}
 .certify-head, .team-x-head{grid-template-columns: 1fr; gap: 24px}
 .cert-grid, .steps{grid-template-columns: 1fr 1fr}
 .why-grid{grid-template-columns: 1fr 1fr}
 .trust-grid{grid-template-columns: 1fr 1fr; gap: 24px 0}
 .trust-item{padding: 20px 28px; border-right: 0; border-bottom: 1px solid var(--rule)}
}
@media (max-width: 720px){
 .hero{min-height: auto; padding-top: 130px; padding-bottom: 60px}
 .hero h1{font-size: 2.4rem}
 .hero-foot{display:none}
 .cert-grid, .steps{grid-template-columns: 1fr}
 .why-grid{grid-template-columns: 1fr}
 .trust-grid{grid-template-columns: 1fr}
 .foot-grid{grid-template-columns: 1fr 1fr; gap: 30px}
 .ehc-visual{padding: 28px}
 .intro-quote{padding: 36px 28px}
 .logo-divider, .logo-mark{display: none}
}

/* ====================== */
/* INNER PAGE COMPONENTS */
/* ====================== */

/* --- Page hero (used on all inner pages) --- */
.export-page-hero{
 position: relative;
 padding: 180px 0 90px;
 background: linear-gradient(180deg, var(--blue-ink) 0%, var(--blue-deep) 100%);
 color: #fff;
 overflow: hidden;
}
.export-page-hero::before{
 content: "";
 position: absolute;
 inset: 0;
 background-image:
 radial-gradient(circle at 18% 22%, rgba(255,255,255,.08) 0, transparent 28%),
 radial-gradient(circle at 82% 78%, rgba(165, 209, 73, .12) 0, transparent 32%);
 pointer-events: none;
}
.export-page-hero .wrap{ position: relative; }
.export-page-hero h1{
 font-family: var(--display);
 font-size: clamp(2.4rem, 5vw, 4rem);
 line-height: 1.04;
 font-weight: 700;
 margin: 14px 0 22px;
 letter-spacing: -.01em;
 color: #fff;
}
.export-page-hero .lede{
 font-size: clamp(1.05rem, 1.5vw, 1.25rem);
 line-height: 1.55;
 color: rgba(255,255,255,.85);
 max-width: 760px;
}

/* Breadcrumbs */
.crumbs{
 font-family: var(--sans);
 font-weight: 600;
 font-size: .76rem;
 text-transform: uppercase;
 letter-spacing: .16em;
 color: rgba(255,255,255,.65);
 display: flex; align-items: center; gap: 10px;
 margin-bottom: 8px;
}
.crumbs a{ color: rgba(255,255,255,.85); }
.crumbs a:hover{ color: #fff; }
.crumbs span{ opacity: .55; }

/* --- Page section wrapper --- */
.page-section{
 padding: 90px 0;
 background: #fff;
}
.page-section.alt{ background: var(--tint); }


/* --- Two-column grid for page content --- */
.page-grid-2{
 display: grid;
 grid-template-columns: 1.1fr .9fr;
 gap: 60px;
 align-items: start;
}
@media (max-width: 880px){
 .page-grid-2{ grid-template-columns: 1fr; gap: 36px; }
}

/* --- Prose copy --- */
.prose p{
 font-size: 1.05rem;
 line-height: 1.7;
 color: var(--ink-soft);
 margin-bottom: 18px;
}
.prose h3{
 font-family: var(--display);
 font-size: 1.4rem;
 font-weight: 700;
 margin-top: 26px;
 margin-bottom: 10px;
 color: var(--blue-ink);
}
.prose strong{ color: var(--ink); }
.prose a:not(.btn){
 color: var(--blue-deep);
 text-decoration: underline;
 text-underline-offset: 3px;
}
.prose ol li, .prose ul li{
 font-size: 1rem;
 line-height: 1.6;
 color: var(--ink-soft);
}

/* --- Generic info card (sidebar/aside on inner pages) --- */
.info-card{
 background: var(--tint);
 border-radius: 22px;
 padding: 32px;
}
.info-card h3{
 font-family: var(--display);
 font-size: 1.15rem;
 font-weight: 700;
 color: var(--blue-ink);
 margin-bottom: 8px;
}
.info-card p{
 font-size: .95rem;
 line-height: 1.55;
 color: var(--ink-soft);
}
.info-card ul{
 list-style: none;
 padding: 0;
 margin: 0;
}

/* --- Contact form --- */
.form-card{
 background: var(--tint);
 border-radius: 22px;
 padding: 36px;
}
.form-card h3{
 font-family: var(--display);
 font-size: 1.4rem;
 font-weight: 700;
 color: var(--blue-ink);
}
.form-row{
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 14px;
 margin-bottom: 14px;
}
.form-row.single{ grid-template-columns: 1fr; }
@media (max-width: 600px){ .form-row{ grid-template-columns: 1fr; } }
.form-field label{
 display: block;
 font-size: .78rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 color: var(--ink-soft);
 margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea{
 width: 100%;
 border: 0;
 background: #fff;
 border-radius: 12px;
 padding: 12px 14px;
 font-family: var(--sans);
 font-size: .95rem;
 background: #fff;
 color: var(--ink);
 transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
 outline: none;
 border-color: var(--blue);
 box-shadow: 0 0 0 3px rgba(30, 74, 120, .15);
}
.form-field textarea{
 min-height: 130px;
 resize: vertical;
}
.form-card .btn{ margin-top: 6px; }
.form-foot{
 margin-top: 16px;
 font-size: .85rem;
 color: var(--ink-soft);
}

/* --- Responsive tweaks for page hero --- */
@media (max-width: 700px){
 .export-page-hero{ padding: 130px 0 70px; }
 .page-section{ padding: 60px 0; }
}

/* =====================================================
 LOGO. no divider/mark, single wordmark image
 ===================================================== */
.logo-block img{ height: 80px; width: auto; }
.site-header.scrolled .logo-block img{ height: 60px; }

/* =====================================================
 TESTIMONIAL ROTATOR
 ===================================================== */
.testimonials{
 background: #fff;
 border-radius: 24px;
 padding: 40px 36px 30px;
 position: relative;
 overflow: hidden;
}
.testimonials-label{
 font-family: var(--sans);
 font-size: .72rem;
 letter-spacing: .18em;
 text-transform: uppercase;
 color: var(--green-deep);
 font-weight: 800;
 margin-bottom: 22px;
}
.testimonials-track{
 position: relative;
 display: grid;
}
.testimonial{
 grid-area: 1 / 1;
 opacity: 0;
 transition: opacity .5s ease;
 pointer-events: none;
}
.testimonial.active{
 opacity: 1;
 pointer-events: auto;
}
.testimonial .q{
 font-family: var(--display);
 font-size: 1.55rem;
 line-height: 1.45;
 color: var(--blue-ink);
 font-weight: 400;
 margin-bottom: 16px;
}
.testimonial .by{
 font-family: var(--sans);
 font-size: .9rem;
 color: var(--ink-soft);
 font-weight: 600;
}
.testimonials-dots{
 display: flex;
 justify-content: center;
 gap: 10px;
 margin-top: 12px;
}
.testimonials-dots button{
 width: 8px; height: 8px;
 border-radius: 50%;
 background: rgba(20,55,91,.2);
 border: 0;
 padding: 0;
 cursor: pointer;
 transition: background .2s ease, transform .2s ease;
}
.testimonials-dots button.active{
 background: var(--green-deep);
 transform: scale(1.4);
}

/* =====================================================
 IiE GREEN CREDENTIAL BADGE (footer)
 ===================================================== */
.foot-credentials-x{
 border-top: 1px solid rgba(255,255,255,.12);
 padding-top: 28px;
 margin-top: 28px;
 display: flex;
 gap: 20px;
 align-items: center;
 flex-wrap: wrap;
}
.foot-credentials-x .lbl{
 font-family: var(--sans);
 font-size: .72rem;
 letter-spacing: .18em;
 text-transform: uppercase;
 color: rgba(255,255,255,.55);
 font-weight: 700;
}
.foot-credentials-x img{
 height: 68px;
 width: auto;
 background: #fff;
 border-radius: 10px;
 padding: 8px 12px;
}

/* Four-step process grid modifier */
.steps-4{
 grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px){
 .steps-4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
 .steps-4{ grid-template-columns: 1fr; }
}


/* =====================================================
 PROCESS PAGE. "How we work" light-section step cards
 The base .step is styled for dark sections (homepage).
 Override for the .steps-4 variant used on process.html.
 ===================================================== */
.steps-4 .step{
 background: var(--tint);
 backdrop-filter: none;
}
.steps-4 .step h3{ color: var(--blue-ink); }
.steps-4 .step p{ color: var(--ink-soft); }
.steps-4 .step::before{ color: rgba(20,55,91,.12); }
.steps-4 .step .icn{ background: var(--green); color: var(--blue-ink); }

/* =====================================================
 IiE BADGE. About page section
 ===================================================== */
.iie-badge{
 width: 100%;
 max-width: 380px;
 background: var(--tint);
 border-radius: 22px;
 padding: 40px;
}

/* =====================================================
 PAGE-GRID-2. right column stretches to match text
 ===================================================== */
/* Right-column image fills the grid cell height */
.page-grid-2 > div:last-child > img{
 height: 100%;
 min-height: 340px;
 object-fit: cover;
}

/* Right-column info card stretches to match text column */
.page-grid-2 > div:last-child{
 display: flex;
 flex-direction: column;
 height: 100%;
}
.page-grid-2 > div:last-child > .info-card{
 flex: 1;
 display: flex;
 flex-direction: column;
 justify-content: center;
}

/* IiE badge sizing on About page (bigger to match text column) */
.iie-badge{
 width: 100%;
 max-width: none;
 height: 100%;
 min-height: 340px;
 object-fit: contain;
 padding: 60px;
 background: var(--tint);
 border-radius: 22px;
}

/* =====================================================
 GOOGLE MAP EMBED
 ===================================================== */
.map-embed{
 width: 100%;
 height: 100%;
 min-height: 380px;
 border: 0;
 border-radius: 22px;
 box-shadow: var(--shadow);
 display: block;
}

/* =====================================================
 HERO. world map background variant
 ===================================================== */
.hero-bg.hero-map{
 object-fit: cover;
 object-position: center right;
}
/* Overlay tuned so the map is visible on the right,
 but text on the left remains high-contrast. */
.hero-overlay-map{
 position: absolute;
 inset: 0;
 z-index: 1;
 background:
 linear-gradient(90deg,
 rgba(10, 37, 68, 0.95) 0%,
 rgba(10, 37, 68, 0.85) 30%,
 rgba(10, 37, 68, 0.45) 55%,
 rgba(10, 37, 68, 0.15) 80%,
 rgba(10, 37, 68, 0.05) 100%);
}
@media (max-width: 900px){
 /* On mobile the map is less visible; darken more so text reads. */
 .hero-overlay-map{
 background: linear-gradient(180deg,
 rgba(10, 37, 68, 0.75) 0%,
 rgba(10, 37, 68, 0.88) 100%);
 }
}

/* =====================================================
 SERVICES. cert-card with a photo on top
 ===================================================== */
.cert-card.has-photo{ padding-top: 0; overflow: hidden; }
.cert-card.has-photo .cert-photo{
 margin: -32px -32px 20px;
 aspect-ratio: 3 / 2;
 overflow: hidden;
}
.cert-card.has-photo .cert-photo img{
 width: 100%; height: 100%;
 object-fit: cover;
 transition: transform .5s ease;
}
.cert-card.has-photo:hover .cert-photo img{ transform: scale(1.05); }

/* =====================================================
 HOMEPAGE. PRODUCT GALLERY BAND
 ===================================================== */
.product-gallery{
 padding: 100px 0;
 background: var(--tint);
}
@media (max-width: 900px){
}
@media (max-width: 500px){
}

/* ===========================================================
   MOBILE PASS
   Header, buttons and touch targets reworked for phones.
   Appended last so these win without !important.
   =========================================================== */

/* --- Buttons: allow wrap, bigger touch target, no side-by-side overflow --- */
@media (max-width: 720px){
 .btn{
  padding: 15px 22px;
  font-size: .95rem;
  white-space: normal;
  text-align: center;
  justify-content: center;
  min-height: 52px;
  line-height: 1.25;
 }
 .btn svg{flex: 0 0 auto}

 /* Any row of buttons stacks full width rather than squeezing */
 .hero-actions,
 .cta-actions,
 .page-actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
 }
 .hero-actions .btn,
 .cta-actions .btn,
 .page-actions .btn{width: 100%}
}

/* --- Header: on phones it is logo + burger only.
       "Small animal site" and "Get in touch" already live in the mobile menu. --- */
@media (max-width: 880px){
 .site-header{padding: 12px 0}
 .site-header.scrolled{padding: 8px 0}
 .header-inner{gap: 12px}
 .logo-block img{height: 42px}
 .site-header.scrolled .logo-block img{height: 38px}
 .head-cta .back-to-main,
 .head-cta > .btn{display: none}
 .head-cta{gap: 0}
 .burger{padding: 10px; margin-right: -10px}
 .burger span{width: 26px}
}

/* --- Mobile menu: comfortable tap targets, CTA pinned readable --- */
@media (max-width: 880px){
 .mobile-menu{padding: 88px 24px 40px; gap: 4px}
 .mobile-menu a{
  font-size: 1.25rem;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
 }
 .mobile-menu .btn{
  margin-top: 20px;
  width: 100%;
  border-bottom: 0;
  font-size: 1rem;
 }
 .mm-close{top: 14px; right: 18px; padding: 8px 12px}
}

/* --- Phone typography and spacing --- */
@media (max-width: 600px){
 .wrap{padding-left: 20px; padding-right: 20px}
 .hero{padding-top: 112px; padding-bottom: 52px}
 .hero h1{font-size: 2.05rem; line-height: 1.12}
 .hero .lede{font-size: 1rem}
 .lead-head{font-size: 1.85rem; line-height: 1.16}
 .page-section{padding: 60px 0}
 .export-page-hero{padding: 130px 0 60px}
 .cert-card{padding: 26px 22px}
 .form-card, .info-card{padding: 26px 22px}
 .testimonials{padding: 30px 24px 24px}
 .testimonial .q{font-size: 1.2rem}
 .foot-grid{grid-template-columns: 1fr; gap: 28px}
 .trust-item{padding: 18px 0}
 /* stop any long email / URL from forcing a sideways scroll */
 a[href^="mailto:"], .prose a{word-break: break-word}
}

/* Nothing should ever pan sideways on a phone */
html{overflow-x: clip}

/* ===========================================================
   TEAM CAROUSEL
   .team-cards becomes a scroll-snap track. Native swipe on
   touch, arrows on desktop. Falls back to a scrolling row
   with no JS.
   =========================================================== */
.team-carousel{position: relative}
.team-cards{
 display: grid;
 grid-template-columns: none;
 grid-auto-flow: column;
 grid-auto-columns: calc((100% - 32px) / 3);
 gap: 16px;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 scroll-behavior: smooth;
 scrollbar-width: none;
 padding-bottom: 4px;
}
.team-cards::-webkit-scrollbar{display: none}
.team-cards .reveal{opacity: 1; transform: none}
.team-cards > .team-card{scroll-snap-align: start; min-width: 0}

.team-nav{
 display: flex;
 gap: 10px;
 justify-content: flex-end;
 margin-top: 22px;
}
.team-nav button{
 width: 46px; height: 46px;
 border-radius: 50%;
 border: 0;
 background: var(--tint-2);
 color: var(--blue-deep);
 cursor: pointer;
 display: inline-flex; align-items: center; justify-content: center;
 transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.team-nav button:hover{background: var(--blue-deep); color: #fff}
.team-nav button[disabled]{opacity: .3; cursor: default}
.team-nav button:hover[disabled]{background: var(--tint-2); color: var(--blue-deep)}
.team-nav svg{width: 20px; height: 20px}

@media (max-width: 1080px){
 .team-cards{grid-auto-columns: calc((100% - 16px) / 2)}
}
@media (max-width: 720px){
 .team-cards{
  grid-auto-columns: 82%;
  gap: 12px;
  /* let cards bleed to the screen edge so the next one peeks in */
  margin-left: -20px; margin-right: -20px;
  padding-left: 20px; padding-right: 20px;
  scroll-padding-left: 20px;
 }
 .team-nav{justify-content: center}
}


/* ===========================================================
   SURFACE CONTRAST
   Sections filled with --tint need their cards in white,
   otherwise the card disappears into the section behind it.
   =========================================================== */
.team-x .team-card,
.page-section.alt .cert-card,
.page-section.alt .info-card,
.page-section.alt .form-card,
.page-section.alt .steps-4 .step,
.intro .info-card{
 background: #fff;
}
.team-x .team-card:hover,
.page-section.alt .cert-card:hover{
 background: var(--tint-2);
}

/* ===========================================================
   PHOTO-LED CATEGORY CARDS
   Card gets a photo at the top instead of an outline icon.
   =========================================================== */
.cert-photo-top{
 margin: -32px -28px 22px;
 aspect-ratio: 16 / 11;
 overflow: hidden;
 border-radius: 20px 20px 0 0;
}
.cert-photo-top img{
 width: 100%; height: 100%;
 object-fit: cover;
 transition: transform .5s ease;
}
.cert-card:hover .cert-photo-top img{transform: scale(1.04)}

@media (max-width: 600px){
 .cert-photo-top{margin: -26px -22px 18px; aspect-ratio: 16 / 10}
}

/* 6 Oct 2026: EHC guide moved up under the trust strip, so the grounds swap to keep
   them alternating (EHC tint, intro white, certify tint). Cards flip to match. */
.intro .info-card{background: var(--tint)}
.certify .cert-card{background: #fff}
.certify .cert-card:hover{background: var(--tint-2)}

/* 7 Oct 2026: a Home link in the menu, and the current page marked */
.main-nav > li > a[aria-current="page"]{background: var(--tint); color: var(--blue-deep)}
/* About: Alan with the practice history */
.history-portrait{margin:0; max-width: 380px; justify-self: center}
.history-portrait img{width:100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow)}
.history-portrait figcaption{margin-top: 14px; color: var(--ink-soft); font-size: .98rem}
.history-portrait figcaption strong{color: var(--blue-deep); display:block; font-size: 1.1rem}
