/* ==========================================================================
   The Invest Coach — interior page styles
   Loaded after custom.css on every page except the homepage.
   Reuses the tokens defined in custom.css (:root) so the palette, type and
   glass treatment stay identical to the homepage.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Navigation: services dropdown + current-page state
   Shared with the homepage, so these rules are safe on every page.
   -------------------------------------------------------------------------- */
.has-sub { position: relative; }

.has-sub > .sub-toggle {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font: 800 .78rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
}
.has-sub > .sub-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s;
}
.has-sub[open] > .sub-toggle::after { transform: translateY(1px) rotate(-135deg); }
.has-sub > .sub-toggle:hover,
.has-sub[open] > .sub-toggle { border-bottom-color: var(--copper); }

.sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 17rem;
  display: grid;
  padding: .5rem;
  border-radius: 18px;
  background: #FBF6EE;
  border: 1px solid var(--line);
  box-shadow: 0 26px 54px rgba(40, 25, 10, .34);
  z-index: 70;
}
.sub-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  background: #FBF6EE;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.sub-menu a {
  position: relative;
  color: var(--ink);
  font-size: .74rem;
  letter-spacing: .1em;
  padding: .72rem .9rem;
  border-radius: 12px;
  border-bottom: 0;
  white-space: nowrap;
}
.sub-menu a:hover { background: rgba(216, 183, 138, .34); border-bottom: 0; }
.sub-menu a[aria-current="page"] { background: rgba(216, 183, 138, .5); }

/* the header sits over artwork, so links are light until the mobile drawer opens */
.nav a[aria-current="page"] { border-bottom-color: var(--copper); }

@media (max-width: 1060px) {
  /* the open drawer is cream, so the light header colour would be invisible */
  .nav a { color: var(--ink); }
  .has-sub { display: grid; }
  .has-sub > .sub-toggle {
    color: var(--ink);
    justify-content: space-between;
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
  }
  .sub-menu {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: .2rem 0 .6rem .9rem;
  }
  .sub-menu::before { display: none; }
  .sub-menu a { white-space: normal; padding: .6rem .4rem; }
}

/* --------------------------------------------------------------------------
   2. Page hero
   Centred copy over the live sky canvas. No artwork layer and no breadcrumb:
   the heading and sub-heading carry the band on their own.
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(62vh, 400px);
  padding: clamp(140px, 19vh, 220px) var(--gutter) clamp(44px, 7vw, 86px);
  text-align: center;
}
.page-hero-copy {
  max-width: min(100%, 52rem);
  margin-inline: auto;
  display: grid;
  gap: 1.05rem;
  justify-items: center;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.page-hero h1 em { font-style: normal; color:#000; }
.page-hero .lead { max-width: 54ch; margin-inline: auto; font-weight: 900;}
.page-hero .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; justify-content: center; }

@media (max-width: 980px) {
  .page-hero { min-height: 0; padding-top: clamp(124px, 22vh, 176px); }
}

/* --------------------------------------------------------------------------
   3. Section scaffolding
   -------------------------------------------------------------------------- */
.band { padding: clamp(40px, 6.5vw, 88px) var(--gutter); }
.band-head { display: grid; gap: .9rem; margin-bottom: clamp(1.5rem, 3.6vw, 2.8rem); max-width: 56rem; }
.band-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.band-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }

.rule {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--copper), var(--gold));
}
.band-head.center .rule { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. Card grid — "our solutions" style blocks
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.9rem, 1.8vw, 1.5rem);
}
/* explicit tracks rather than auto-fit: six cards should read 3+3, not 4+2 */
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* .cards.wide is for sets of eight, where four across balances better */
@media (min-width: 1180px) { .cards.wide { grid-template-columns: repeat(4, 1fr); } }
.card {
  display: grid;
  gap: .7rem;
  align-content: start;
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  border-radius: 22px;
  background: rgba(255, 253, 249, .72);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(70, 45, 18, .14);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(70, 45, 18, .24); }
.card h3 { font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.card p { color: #251f1b; font-size: .97rem; font-weight: 800; }

.ico {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(160deg, #F0DCB6, #D2AC74);
  border: 1.5px solid #B38A52;
  color: #4A3416;
  box-shadow: 0 8px 18px rgba(120, 80, 30, .26);
}
.ico svg { width: 25px; height: 25px; }

/* numbered variant for ordered lists of steps */
.card .num {
  font: 800 .78rem/1 var(--font-body);
  letter-spacing: .16em;
  color: var(--gold-deep);
}

/* --------------------------------------------------------------------------
   5. Benefit rows
   These sit inside the site's standard translucent .glass .slab, so the sky
   reads through them; type stays dark like the rest of the page.
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  /* narrow enough that five items still sit on one row inside the slab */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}
.benefit { display: grid; gap: .55rem; align-content: start; }
.benefit h3 {
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.benefit p { font-size: .95rem; color: #251f1b;
    font-weight: 800; }
.benefit .ico { width: 42px; height: 42px; border-radius: 12px; }
.benefit .ico svg { width: 21px; height: 21px; }

/* --------------------------------------------------------------------------
   6. Split feature rows (image / copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.4rem, 3.4vw, 3rem);
  align-items: center;
}
.split .shot {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(140, 106, 58, .5);
  box-shadow: 0 30px 62px rgba(50, 28, 10, .4);
  background: #2a2018;
}
.split .shot img { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   7. Process / pipeline steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: clamp(.8rem, 1.6vw, 1.2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.step {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border-radius: 20px;
  background: rgba(255, 253, 249, .66);
  border: 1px solid var(--line);
  display: grid;
  gap: .5rem;
  align-content: start;
}
.step b {
  font: 800 1.5rem/1 var(--font-display);
  color: var(--copper);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: .94rem; color: #251f1b; font-weight: 800;}

/* --------------------------------------------------------------------------
   8. Closing call to action
   -------------------------------------------------------------------------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
  border-radius: 26px;
}
.cta-band .copy { display: grid; gap: .5rem; min-width: min(100%, 22rem); flex: 1 1 26rem; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }

/* --------------------------------------------------------------------------
   9. Reveal on scroll (progressive enhancement — visible without JS)
   Named .rv, not .reveal: the homepage already uses .reveal for a different
   mechanism (.pre holds the hidden state there), and this file loads there too.
   -------------------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }

/* if scripting is off the observer never runs, so never hide anything */
@media (scripting: none) { .rv { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
}

/* ==========================================================================
   10. Content pages (services overview, process, results, story, FAQ, contact)
   ========================================================================== */

/* compact hero: no artwork, so the live sky carries the whole band */
.page-hero.compact { min-height: min(52vh, 460px); padding-block: clamp(140px, 19vh, 220px) clamp(34px, 5vw, 64px); }
.page-hero-copy.wide { max-width: min(100%, 50rem); }
@media (max-width: 980px) {
  .page-hero.compact { padding-top: clamp(124px, 22vh, 180px); }
}

/* --- services overview: pillar cards with artwork --- */
.cards.pillars { grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards.pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards.pillars { grid-template-columns: repeat(3, 1fr); } }

.card.pillar { padding: 0; overflow: hidden; gap: 0; }
.pillar-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #2a2018; }
.pillar-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; display: block; }
.card.pillar h3,
.card.pillar p { padding-inline: clamp(1.1rem, 2vw, 1.5rem); }
.card.pillar h3 { margin-top: clamp(1rem, 1.8vw, 1.3rem); }
.card.pillar h3 a { text-decoration: none; }
.card.pillar h3 a:hover { text-decoration: underline; }
.card.pillar p { margin-top: .5rem; }
.card.pillar .more { margin-bottom: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.card.pillar .more a { color: var(--gold-deep); text-decoration: none; }
.card.pillar .more a:hover { text-decoration: underline; }

/* --- process: three large steps --- */
.steps.three { grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps.three { grid-template-columns: repeat(3, 1fr); } }
.step.big { padding: clamp(1.4rem, 2.6vw, 2.1rem); text-align: center; justify-items: center; }
.step-ico {
  width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(160deg, #F2E1C2, #D9B47F);
  border: 1.5px solid #B38A52; box-shadow: 0 12px 26px rgba(120, 80, 30, .26);
  margin-bottom: .4rem;
}
.step-ico img { width: 46px; height: 46px; object-fit: contain; }

/* --- results: testimonial grid --- */
.quotes { display: grid; grid-template-columns: 1fr; gap: clamp(.9rem, 1.8vw, 1.4rem); }
@media (min-width: 700px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  position: relative; margin: 0; display: grid; gap: 1rem; align-content: start;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border-radius: 22px; background: rgba(255, 253, 249, .74);
  border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(70, 45, 18, .14);
}
.q-mark { color: var(--gold); opacity: .55; }
.q-mark svg { width: 30px; height: 30px; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); font-weight: 800; }
.quote figcaption { display: flex; align-items: center; gap: .7rem; font-weight: 800; }
.quote .av {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(160deg, #EFD7AB, #C99F63); border: 1.5px solid #B38A52;
  font: 800 .82rem/1 var(--font-body); letter-spacing: .04em; color: #4A3416;
}

/* --- story --- */
.beliefs-list { list-style: none; margin: .4rem 0 1.2rem; padding: 0; display: grid; gap: .9rem; }
.beliefs-list li { display: flex; align-items: center; gap: .9rem; font-weight: 700; }
.beliefs-list .ico { width: 42px; height: 42px; border-radius: 12px; }
.beliefs-list .ico svg { width: 21px; height: 21px; }
.story-card { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: .9rem; align-content: start; }
.story-card p { color: var(--ink-soft); }
.story-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

/* --- FAQ --- */
.faq-wrap { display: grid; gap: .8rem; max-width: 54rem; margin-inline: auto; }
.faq-item {
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255, 253, 249, .72); overflow: hidden;
}
.faq-item > summary {
  cursor: pointer; list-style: none; padding: clamp(1rem, 2vw, 1.3rem) clamp(1.1rem, 2.2vw, 1.6rem);
  font: 700 clamp(1rem, 1.5vw, 1.16rem)/1.35 var(--font-display);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2.5px solid var(--copper); border-bottom: 2.5px solid var(--copper);
  transform: rotate(45deg) translateY(-2px); transition: transform .3s;
}
.faq-item[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item > summary:hover { background: rgba(216, 183, 138, .18); }
.faq-item .ans { padding: 0 clamp(1.1rem, 2.2vw, 1.6rem) clamp(1.1rem, 2.2vw, 1.5rem); }
.faq-item .ans p { color: var(--ink-soft); }

/* --- contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3.4vw, 3rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.contact-list.big { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list.big li { display: flex; align-items: flex-start; gap: .9rem; }
.contact-list.big .ico { width: 44px; height: 44px; border-radius: 12px; }
.contact-list.big .ico svg { width: 21px; height: 21px; }
.contact-list.big span {
  display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .15rem;
}
.contact-list.big small { display: block; color: var(--ink-soft); font-size: .85rem; }
.contact-list.big a { font-weight: 700; }

.form-card {
  display: grid; gap: 1.1rem; padding: clamp(1.3rem, 2.8vw, 2.2rem);
  border-radius: 24px; background: rgba(255, 253, 249, .8);
  border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(70, 45, 18, .18);
}
.form-card fieldset { border: 0; margin: 0; padding: 0; }
.form-card legend {
  font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem;
}
.form-card .pick { display: flex; flex-wrap: wrap; gap: .45rem; }
.form-card .pick input { position: absolute; opacity: 0; pointer-events: none; }
.form-card .pick label {
  cursor: pointer; font-size: .86rem; font-weight: 700; padding: .45rem .9rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .6);
  transition: background .2s, border-color .2s;
}
.form-card .pick label:hover { background: rgba(216, 183, 138, .3); }
.form-card .pick input:checked + label {
  background: linear-gradient(180deg, #EBD2A6, #D2AC74); border-color: #B38A52;
}
.form-card .pick input:focus-visible + label { outline: 3px solid var(--copper); outline-offset: 2px; }
.form-card .row2 { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 560px) { .form-card .row2 { grid-template-columns: 1fr 1fr; } }
.form-card .field { display: grid; gap: .35rem; }
.form-card .lbl { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.form-card input, .form-card textarea {
  font: inherit; font-size: 1rem; color: var(--ink); padding: .75rem .9rem;
  border-radius: 12px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .78);
}
.form-card textarea { min-height: 7rem; resize: vertical; }
.form-card input:focus-visible, .form-card textarea:focus-visible { outline: 3px solid var(--copper); outline-offset: 1px; }
.form-card .err { color: #8E2F1B; font-weight: 700; font-size: .92rem; min-height: 1.2em; }
.form-card .err:empty { min-height: 0; }
.form-card .fine { font-size: .82rem; color: var(--ink-soft); }
.form-card button { justify-self: start; }

.thanks { padding: clamp(1.6rem, 3.4vw, 2.6rem); display: grid; gap: .9rem; justify-items: start; }
.thanks .tick {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(160deg, #EFD7AB, #C99F63); border: 1.5px solid #B38A52; color: #3C2A10;
}
.thanks .tick svg { width: 28px; height: 28px; }
.two-sectionrr-t{ padding-top: 0px!important;}
.two-sectionrr-b{ padding-bottom: 0px!important;}

select.wpcf7-form-control.wpcf7-select {width: 100%;
    font: 500 1rem var(--font-body);
    color: var(--ink);
    background: #fff;
    border: 1.5px solid rgba(140, 106, 58, .5);
    border-radius: 12px;
    padding: .85rem 1rem;
    min-height: 52px;}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 1em .5em 0em!important;
}


