/* Customer routes: one need, a clear explanation, a useful next action. */
.flow-page .page-hero { padding: clamp(2rem, 4vw, 3.5rem) 0 2.4rem; }
.flow-page .page-hero h1 { max-width: 25ch; margin-left: auto; margin-right: auto; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.16; }
.flow-page .page-hero .lead { max-width: 65ch; }
.flow-page [id] { scroll-margin-top: 120px; }
.flow-page .section { padding-top: clamp(2.8rem, 5vw, 4.8rem); padding-bottom: clamp(2.8rem, 5vw, 4.8rem); }
.flow-page .section-heading { margin-bottom: 2rem; }
.flow-locality { margin: 0 0 1.2rem; color: #405464; font-family: 'Montserrat', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .06em; line-height: 1.7; text-transform: uppercase; }
.flow-home .hero-v3-copy h1 { font-size: clamp(2.35rem, 4.1vw, 3.5rem); }
.flow-home .hero-v3-title-accent { margin-top: .35em; }
.flow-home .hero-v3-copy .lead { font-size: clamp(1.05rem, 1.7vw, 1.23rem); }
.flow-home .hero-v3-grid { min-height: 570px; }
.flow-home-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.2rem; margin-top: 1.5rem; padding-top: 1.15rem; border-top: 1px solid #bdc7cc; }
.flow-home-prices > p { margin: 0; color: #203d55; line-height: 1.5; }
.flow-home-prices strong { display: block; color: var(--copper-action); font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 700; }
.flow-home-prices span { font-size: 1rem; }
.flow-home-prices > .flow-home-prices-note { grid-column: 1 / -1; max-width: 55ch; color: #405464; font-size: .94rem; }
.flow-home .sap-proof-copy > p + p:not(.eyebrow) { margin-top: .8rem; }
@media (max-width: 640px) {
 .flow-home .sap-logo-wrap img { width: 90px; }
}
.flow-needs { background: #fbf8f3; }
.flow-needs .section-heading { max-width: 780px; }
.flow-needs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.flow-need-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 1.6rem; border: 1px solid #b7c7d2; border-radius: 22px; color: var(--navy); background: #fff; text-decoration: none; transition: border-color 150ms ease, box-shadow 150ms ease; }
.flow-need-card:nth-child(-n+3) { border-top: 3px solid var(--copper-action); }
.flow-need-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 1.2rem; border-radius: 16px; background: #f3eee7; }
.flow-need-card h3 { margin: 0 0 .65rem; font-size: 1.18rem; line-height: 1.4; }
.flow-need-card p { margin: 0; color: #354e61; font-size: 1rem; line-height: 1.65; }
.flow-under-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.7rem 0 0; color: #405464; }
.flow-journey .section-heading h2 { max-width: 23ch; }
.flow-journey h2 span { color: #f1c29e; }
.flow-journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.flow-journey-grid article { padding-left: 1.2rem; border-left: 2px solid #bf8256; }
.flow-journey-grid h3 { margin: 0 0 .8rem; color: #f1c29e; font-size: 1.15rem; }
.flow-journey-grid p { margin: 0; color: #e3eaf0; line-height: 1.7; }
.flow-proof { background: #f2eee7; }
.flow-proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.flow-proof h2 { max-width: 22ch; }
.flow-proof .lead { font-size: 1.15rem; }
.flow-sheet { min-width: 0; padding: 2rem; border: 1px solid #b9c9d4; border-top: 5px solid var(--copper-action); border-radius: 20px; color: var(--navy); background: #fff; box-shadow: 0 15px 35px rgba(13,44,73,.07); }
.flow-sheet-label { margin: 0 0 .7rem; color: #526171; font-size: .8rem; line-height: 1.6; }
.flow-sheet h3 { margin: 0 0 1.3rem; font-size: 1.35rem; line-height: 1.4; }
.flow-sheet dl { margin: 0; }
.flow-sheet dl > div { padding: 1rem 0; border-top: 1px solid #d2dde4; }
.flow-sheet dt { color: #8b421f; font-size: .9rem; font-weight: 700; }
.flow-sheet dd { margin: .35rem 0 0; color: #203d55; line-height: 1.65; }
.flow-sheet > p:last-child { margin-bottom: 0; color: #526171; font-size: .85rem; line-height: 1.6; }
.flow-subnav { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }
.flow-subnav a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.1rem; border: 1px solid #a1b5c3; border-radius: 99px; color: var(--navy); background: #fff; font-size: .94rem; font-weight: 700; line-height: 1.45; text-decoration: none; }
.flow-subnav a:hover { border-color: var(--navy); color: #fff; background: var(--navy); }
.flow-subnav a:focus-visible { outline: 3px solid var(--copper-action); outline-offset: 3px; }
.flow-mission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.flow-mission { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 1.6rem; border: 1px solid #b5c5d0; border-top: 3px solid var(--copper-action); border-radius: 22px; background: #fff; }
.flow-mission > img { margin-bottom: 1.25rem; }
.flow-mission h3 { margin: 0 0 .8rem; font-size: 1.3rem; line-height: 1.4; }
.flow-mission p { color: #203d55; line-height: 1.65; }
.flow-mission > p { margin: 0 0 1rem; }
.flow-mission-result { width: 100%; margin: auto 0 0; padding: 1rem; border-radius: 12px; background: #edf2f5; }
.flow-mission-result strong { color: var(--navy); font-size: .87rem; }
.flow-mission-result p { margin: .45rem 0 0; font-size: .94rem; }
.flow-secondary-service { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.3rem; padding: 1.6rem; border: 1px solid #c3c9c7; border-radius: 18px; background: #fdfbf7; }
.flow-secondary-service h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.flow-secondary-service p { max-width: 70ch; margin: 0; color: #354e61; line-height: 1.65; }
.flow-scope-note { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--copper-action); color: #405464; background: #fff; font-size: .92rem; line-height: 1.7; }
.flow-section-action { margin-top: 1.8rem; }
.flow-services .detail-card { display: flex; align-items: flex-start; flex-direction: column; }
.flow-services .detail-card > p { flex: 1; }
.flow-progression-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.flow-progression-grid > a { padding: 1.7rem; border: 1px solid #b7c7d2; border-radius: 22px; background: #eef3f6; }
.flow-progression-grid h3 { margin-top: 0; font-size: 1.35rem; line-height: 1.4; }
.flow-progression-grid p { color: #203d55; line-height: 1.7; }
.flow-limits { padding-top: 0 !important; }
.flow-limits details { border: 1px solid #b8c8d2; border-radius: 16px; background: #fff; }
.flow-limits summary { padding: 1.25rem 3.5rem 1.25rem 1.3rem; font-size: 1.05rem; }
.flow-limits-content { padding: 0 1.3rem 1rem; color: #405464; line-height: 1.7; }
.flow-price-example { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #c9d5de; color: #203d55; font-size: .96rem; line-height: 1.65; }
.flow-prices .price-card h2 { margin: 0 0 1rem; font-size: 1.35rem; line-height: 1.4; }
.flow-prices .price-badge { min-height: 32px; margin: 0 0 1.1rem; font-size: .78rem; line-height: 1.5; }
.flow-price-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-top: 2rem; }
.flow-price-terms article { padding-top: 1.15rem; border-top: 1px solid #b8c8d2; }
.flow-price-terms h3 { margin: 0 0 .55rem; color: var(--navy); font-size: 1.05rem; line-height: 1.5; }
.flow-price-terms p { margin: 0; color: #405464; font-size: 1rem; line-height: 1.7; }
.flow-price-included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.flow-price-included-grid > div > p:last-child { color: #405464; line-height: 1.7; }
.flow-included-list { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.flow-included-list li { padding-left: 1rem; border-left: 3px solid var(--copper-action); }
.flow-included-list strong { display: block; margin-bottom: .4rem; color: var(--navy); }
.flow-included-list span { display: block; color: #203d55; line-height: 1.65; }
.flow-contact-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.contact-form .flow-contact-choice label { display: flex; min-height: 62px; align-items: center; gap: .75rem; margin: 0; padding: 1rem; border: 1px solid #91a5b4; border-radius: 14px; color: var(--navy); background: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; }
.contact-form .flow-contact-choice label:has(input:checked) { border-color: var(--copper-action); background: #fbf0e6; box-shadow: inset 0 0 0 1px var(--copper-action); }
.contact-form .flow-contact-choice label:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }
.contact-form .flow-contact-choice input[type="radio"] { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin: 0; padding: 0; accent-color: var(--copper-action); box-shadow: none; }
.contact-mission-summary { margin: 0 0 1.3rem; padding: 1rem; border-left: 3px solid var(--copper-action); border-radius: 10px; color: #203d55; background: #edf2f5; line-height: 1.6; }
.flow-faq-group + .flow-faq-group { margin-top: 2.8rem; }
.flow-faq-group h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.flow-tax .tax-access-notes { grid-template-columns: minmax(0, 1fr); }
.flow-tax details.tax-annual-example { padding: 0; overflow: clip; }
.flow-tax .tax-annual-example > summary { padding: 1.3rem 3.5rem 1.3rem 1.3rem; color: var(--navy); font-size: 1rem; line-height: 1.6; }
.flow-tax .tax-annual-content { padding: 0 1.3rem 1.3rem; }
.flow-tax .tax-annual-content h3 { font-size: 1.2rem; }
@media (max-width: 1040px) {
 .flow-home .hero-v3-grid { min-height: 0; }
 .flow-home .hero-v3-copy { padding-top: 1rem; }
}
@media (max-width: 1000px) {
 .flow-needs-grid, .flow-mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .flow-mission:last-child { grid-column: 1 / -1; }
 .flow-proof-grid, .flow-price-included-grid { grid-template-columns: 1fr; gap: 2rem; }
 .flow-proof-grid > div { max-width: 780px; }
 .flow-sheet { max-width: 780px; }
 .flow-secondary-service { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
}
@media (max-width: 640px) {
 .flow-page [id] { scroll-margin-top: 105px; }
 .flow-page .section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
 .flow-home .hero-v3-grid { min-height: 0; }
 .flow-locality { font-size: .7rem; }
 .flow-needs-grid, .flow-mission-grid, .flow-journey-grid, .flow-progression-grid, .flow-price-terms { grid-template-columns: minmax(0, 1fr); }
 .flow-mission:last-child { grid-column: auto; }
 .flow-need-card, .flow-mission, .flow-progression-grid > a, .flow-sheet { padding: 1.3rem; }
 .flow-need-card h3 { font-size: 1.2rem; }
 .flow-need-icon { margin-bottom: 1rem; }
 .flow-journey-grid { gap: 1.6rem; }
 .flow-subnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
 .flow-subnav a { padding: .65rem .7rem; font-size: .86rem; }
 .flow-section-action .btn { width: 100%; }
 .flow-contact-choice { grid-template-columns: 1fr; }
 .flow-page .page-hero { padding-bottom: 1.8rem; }
 .flow-tax .tax-example thead th { font-size: .9rem; line-height: 1.45; }
 .flow-tax .tax-example tbody th { font-size: .94rem; line-height: 1.5; }
 .flow-tax .tax-example th:first-child { width: 34%; }
 .flow-tax .tax-registration p { font-size: .9rem; }
}
/* Mobile: show the promise and the next action without an oversized introduction. */
@media (max-width: 760px) {
 .flow-home .hero-v3-copy { padding-top: .25rem; }
 .flow-home .hero-v3-copy::before { display: none; }
 .flow-home .hero-v3-copy h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); line-height: 1.18; }
 .flow-home .hero-v3-copy .lead { margin-top: 1.1rem; }
 .flow-home .hero-v3-grid { gap: 1.5rem; }
 .flow-home .hero-v3-photo { aspect-ratio: 16 / 10; }
}
/* Single-destination cards are native links, with no nested buttons. */
.flow-page .card-link {
 position: relative; min-width: 0; overflow: hidden; isolation: isolate;
 color: var(--navy); text-decoration: none; cursor: pointer;
 transition: transform 220ms ease, box-shadow 220ms ease, border-color 180ms ease,
  background-color 180ms ease, opacity 200ms ease;
 transition-delay: 0s;
}
.card-link::after {
 content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 3px;
 background: var(--copper-action); transform: scaleX(0); transform-origin: left;
 transition: transform 220ms ease; pointer-events: none;
}
.card-link-mark {
 position: absolute; top: 1.45rem; right: 1.3rem; display: inline-flex;
 width: 24px; height: 24px; align-items: center; justify-content: center;
 color: var(--copper-action); pointer-events: none; transition: transform 220ms ease;
}
.card-link-mark svg { display: block; flex: 0 0 22px; }
.flow-page .card-link:focus-visible {
 border-color: var(--copper-action); outline: 3px solid var(--copper-action);
 outline-offset: 4px; background-color: #fffaf5;
}
.card-link:focus-visible::after { transform: scaleX(1); }
.flow-page .card-link:active { border-color: var(--copper-action); background-color: #f8eee4; }
.card-link > img, .card-link .flow-need-icon { transition: transform 220ms ease; }
.card-link.card-link--plain h3 { padding-right: 2rem; }
.card-link.card-link--plain p:last-of-type { margin-bottom: 0; }
.flow-services .detail-card.card-link > img { margin-right: 2.4rem; }
.flow-services .flow-secondary-service.card-link { padding-right: 4.4rem; }
.flow-secondary-service.card-link .card-link-mark { top: calc(50% - 12px); }
.flow-page .price-card.card-link::before { content: none; }
.card-link-note {
 display: flex; width: 100%; align-items: center; justify-content: space-between;
 gap: 1rem; margin-top: auto; padding-top: 1.3rem; color: var(--navy);
 font-family: 'Montserrat', sans-serif; font-size: .9rem; font-weight: 600; line-height: 1.5;
}
.card-link-note .card-link-mark { position: static; flex: 0 0 24px; }
/* Explanatory cards keep a quieter appearance and do not imitate links. */
.flow-services article.detail-card { border-color: #c7cfce; background: #f6f4ef; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
 .flow-page .card-link:hover {
  border-color: var(--copper-action); background-color: #fffaf5;
  box-shadow: 0 18px 34px -14px rgba(13, 44, 73, .25); transform: translateY(-5px);
 }
 .card-link:hover::after { transform: scaleX(1); }
 .card-link:hover .card-link-mark { transform: translateX(4px); }
 .card-link:hover > img, .card-link:hover .flow-need-icon { transform: translateY(-2px); }
 .flow-services article.detail-card:hover { border-color: #c7cfce; box-shadow: none; transform: none; }
 .flow-services article.detail-card:hover > img, .flow-prices .sector-card:hover,
 .flow-prices .sector-card:hover > img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
 .flow-page .card-link, .card-link::after, .card-link-mark,
 .card-link > img, .card-link .flow-need-icon { transition: none; }
 .flow-page .card-link:hover, .card-link:hover > img,
 .card-link:hover .flow-need-icon, .card-link:hover .card-link-mark { transform: none; }
}
