/* ============================================================
   Madz Travel — shared styles for content/landing/blog pages
   (main homepage keeps its own inline styles; this powers the
   SEO service, location and blog pages)
   ============================================================ */
:root{
  --navy:#0A1E3F;--navy-deep:#06152E;--navy-soft:#12294f;
  --gold:#C8A24C;--gold-light:#E7CB86;--gold-deep:#A67F32;
  --cream:#F7F3EA;--cream-dim:#E8E0CF;--white:#fff;--maxw:1080px;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Jost',sans-serif;background:var(--navy-deep);color:var(--cream);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;font-weight:600;line-height:1.12;letter-spacing:.005em}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
::selection{background:var(--gold);color:var(--navy-deep)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}

/* header */
header.nav{position:sticky;top:0;z-index:100;background:rgba(6,21,46,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(200,162,76,.18)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px}
.brand svg{width:38px;height:38px;flex:none}
.brand b{font-family:'Cormorant Garamond',serif;font-weight:600;font-size:1.2rem;color:var(--cream);letter-spacing:.03em}
.brand span{display:block;font-size:.52rem;letter-spacing:.36em;text-transform:uppercase;color:var(--gold)}
.nav-links{display:flex;gap:26px;align-items:center}
.nav-links a{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:var(--cream-dim);transition:color .3s}
.nav-links a:hover{color:var(--gold-light)}
.nav-cta{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-light);border:1px solid rgba(200,162,76,.5);padding:9px 18px;border-radius:2px;transition:all .3s}
.nav-cta:hover{background:var(--gold);color:var(--navy-deep)}
@media(max-width:760px){.nav-links{display:none}}

/* hero / page head */
.phead{position:relative;overflow:hidden;padding:84px 0 64px;
  background:radial-gradient(120% 90% at 85% 10%,rgba(18,41,79,.9),transparent 60%),linear-gradient(160deg,var(--navy),var(--navy-deep) 75%)}
.crumb{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--cream-dim);opacity:.7;margin-bottom:18px}
.crumb a{color:var(--gold-light)}
.eyebrow{font-weight:500;font-size:.72rem;letter-spacing:.4em;text-transform:uppercase;color:var(--gold);display:inline-flex;align-items:center;gap:14px;margin-bottom:18px}
.eyebrow::before{content:"";width:34px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.phead h1{font-size:clamp(2.4rem,6vw,4rem);color:var(--white);margin-bottom:16px;max-width:16ch}
.phead h1 em{font-style:italic;color:var(--gold-light);font-weight:500}
.phead p.lede{max-width:620px;font-size:1.14rem;color:var(--cream-dim);font-weight:300}

/* body prose */
.prose{padding:64px 0}
.prose .wrap{max-width:820px}
.prose h2{font-size:clamp(1.7rem,3.4vw,2.4rem);color:var(--cream);margin:44px 0 14px}
.prose h2:first-child{margin-top:0}
.prose h2 em{font-style:italic;color:var(--gold-light);font-weight:500}
.prose h3{font-size:1.35rem;color:var(--gold-light);margin:30px 0 10px}
.prose p{color:var(--cream-dim);font-weight:300;font-size:1.05rem;margin-bottom:16px}
.prose ul,.prose ol{margin:0 0 18px 22px}
.prose li{color:var(--cream-dim);font-weight:300;margin-bottom:9px}
.prose a{color:var(--gold-light);text-decoration:underline;text-underline-offset:3px}
.prose strong{color:var(--cream);font-weight:500}
.lead{font-size:1.18rem !important;color:var(--cream) !important}

/* TICO certificate card — mirrors the block in index.html's inline styles.
   Ivory on gold so it reads as a certificate against the navy pages. */
.tico-cert{max-width:420px;margin:30px auto;padding:5px;border-radius:5px;background:linear-gradient(150deg,var(--gold-light),var(--gold-deep) 46%,var(--gold-light));box-shadow:0 30px 64px -28px rgba(3,10,24,.8)}
.tico-cert-in{position:relative;overflow:hidden;background:linear-gradient(165deg,#FFFDF7,#F2ECDD);border:1px solid rgba(166,127,50,.4);border-radius:2px;padding:32px 30px 26px;text-align:center}
.tico-cert-in::before{content:"";position:absolute;inset:0;background:repeating-radial-gradient(circle at 50% 32%,rgba(166,127,50,.085) 0 1px,transparent 1px 10px);pointer-events:none}
.tico-cert .seal{position:relative;width:98px;height:98px;margin:0 auto 16px;display:block}
.tico-cert .sealtxt{font-family:'Jost',sans-serif;font-size:8.4px;font-weight:500;letter-spacing:2.1px;fill:#A67F32}
.tico-cert .act{position:relative;display:block;font-size:.58rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold-deep)}
.tico-cert h3{position:relative;font-size:1.7rem;color:var(--navy);margin:9px 0 4px}
.tico-cert .who{position:relative;font-size:.65rem;letter-spacing:.24em;text-transform:uppercase;color:#6b7587}
.tico-cert dl{position:relative;display:flex;justify-content:center;gap:38px;margin:18px 0 16px;padding:15px 0;border-top:1px solid rgba(166,127,50,.32);border-bottom:1px solid rgba(166,127,50,.32)}
.tico-cert dt{font-size:.56rem;letter-spacing:.2em;text-transform:uppercase;color:#7b8496;margin-bottom:5px}
.tico-cert dd{font-family:'Cormorant Garamond',serif;font-size:1.55rem;color:var(--navy);letter-spacing:.14em;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:'lnum' 1,'tnum' 1}
.tico-cert .note{position:relative;font-size:.72rem!important;line-height:1.65;font-weight:300;color:#5b6577!important;margin:0!important}
@media(max-width:520px){.tico-cert dl{gap:26px}.tico-cert-in{padding:28px 20px 22px}}

/* feature grid */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin:26px 0}
.card{background:rgba(247,243,234,.03);border:1px solid rgba(200,162,76,.2);border-radius:8px;padding:26px}
.card h3{font-size:1.3rem;color:var(--cream);margin:0 0 8px}
.card p{font-size:.96rem;margin:0}

/* CTA band */
.cta-band{background:linear-gradient(160deg,var(--navy),var(--navy-deep));border-top:1px solid rgba(200,162,76,.16);border-bottom:1px solid rgba(200,162,76,.16);padding:64px 0;text-align:center}
.cta-band h2{font-size:clamp(1.9rem,4vw,2.8rem);color:var(--cream);margin-bottom:14px}
.cta-band h2 em{font-style:italic;color:var(--gold-light);font-weight:500}
.cta-band p{color:var(--cream-dim);font-weight:300;max-width:540px;margin:0 auto 26px}
.btn{display:inline-flex;align-items:center;gap:10px;font-weight:500;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;padding:15px 30px;border-radius:2px;transition:all .4s var(--ease)}
.btn-gold{background:linear-gradient(135deg,var(--gold-light),var(--gold));color:var(--navy-deep);box-shadow:0 12px 34px -14px rgba(200,162,76,.7)}
.btn-gold:hover{transform:translateY(-3px)}
.btn-ghost{border:1px solid rgba(200,162,76,.5);color:var(--gold-light);margin-left:10px}
.btn-ghost:hover{background:rgba(200,162,76,.12)}

/* footer */
footer{background:var(--navy-deep);border-top:1px solid rgba(200,162,76,.16);padding:44px 0 34px}
.foot-cols{display:flex;flex-wrap:wrap;gap:30px 60px;justify-content:space-between;margin-bottom:26px}
.foot-cols h4{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.foot-cols a,.foot-cols p{display:block;font-size:.9rem;color:var(--cream-dim);opacity:.85;margin-bottom:7px;font-weight:300}
.foot-cols a:hover{color:var(--gold-light)}
.foot-bottom{border-top:1px solid rgba(200,162,76,.12);padding-top:20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}
.foot-bottom p{font-size:.78rem;color:var(--cream-dim);opacity:.7}
/* column-REVERSE, not column: the mark is first in the source (it reads as the subject
   of the credential to a screen reader) but sits UNDER the line visually, centred to
   the page. Reversing here keeps the DOM order and moves only the picture. */
.foot-bottom .tico{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);display:flex;flex-direction:column-reverse;align-items:center;gap:12px;justify-content:center;text-align:center;flex-basis:100%;order:3;margin-top:4px}
/* The regulator's mark, self-hosted so the footer never depends on tico.ca being up.
   White plate because the logo is dark artwork and would disappear against the navy. */
.tico-mark{display:inline-flex;background:#fff;border-radius:4px;padding:7px 10px;line-height:0;box-shadow:0 6px 18px -8px rgba(0,0,0,.55);transition:transform .3s var(--ease)}
.tico-mark:hover{transform:translateY(-2px)}
.tico-mark img{height:30px;width:auto;display:block}
.version-bar{background:#000;text-align:center;padding:10px 0;font-size:.6rem;letter-spacing:.08em;color:rgba(255,255,255,.35)}

/* The registrant disclosure. TICO requires an outside sales rep's own branded site to carry
   the HOST agency's business name, address and registration number; Madz's certificate number
   sits above it and is a personal credential, not a substitute. Sentence case and full width
   on purpose — this is a legal disclosure and has to read as prose, not as a tracked-out badge
   like the credential line it follows. */
.tico-reg{flex-basis:100%;order:4;text-align:center;font-size:.7rem;line-height:1.65;
  letter-spacing:.02em;text-transform:none;color:var(--cream-dim);opacity:.72;margin-top:6px}

/* Builder credit. Still ordered LAST, below the regulator disclosure — the TICO block is
   what a visitor is meant to read first — but no longer whispered: at .68rem/.5 opacity it
   was the smallest, faintest text on the site and effectively unreadable. Sized to match the
   regulator line instead, so it's legible without out-ranking the credential above it.
   The link opens in a new tab so a curious reader is never pulled off Madz's site, and
   carries rel="noopener" WITHOUT noreferrer: the referrer is the whole point, it's how
   smarterflow.ca sees which of these sites sent the visit. */
.built-by{flex-basis:100%;order:5;text-align:center;font-size:.84rem;line-height:1.7;
  letter-spacing:.03em;text-transform:none;color:var(--cream-dim);opacity:.8;margin-top:14px}
.built-by a{color:var(--gold);border-bottom:1px solid rgba(200,162,76,.3);padding-bottom:1px;
  transition:color .3s var(--ease),border-color .3s var(--ease)}
.built-by a:hover{color:var(--gold-light);border-bottom-color:rgba(231,203,134,.6)}
