/* Hwarang martial-arts landing page — visual system aligned with the main site */
.martial-page-shell{background:var(--bg)}
.martial-page{position:relative;overflow:hidden;background:var(--bg);color:var(--ink)}
.martial-page h1,.martial-page h2,.martial-page h3{letter-spacing:-.025em;color:var(--ink)}
.martial-page p{line-height:1.65}
.martial-page .eyebrow{margin:0 0 8px;color:var(--primary);font-size:.78rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}
.martial-page .eyebrow.dark{color:var(--primary)}
.martial-container{max-width:1120px}
.martial-section{position:relative;padding:80px 0}
.martial-section--soft,.martial-section--teen,.martial-section--trainers{background:#f1ece5}
.martial-section--coach{background:var(--bg)}
.martial-heading{max-width:820px;margin:0 auto 34px;text-align:center}
.martial-heading h2{font-size:clamp(2rem,4vw,3.1rem);line-height:1.08;margin:8px 0 14px}
.martial-heading p{font-size:1.04rem;color:var(--muted);margin:0}
.martial-heading--narrow{max-width:860px}
.martial-heading--narrow p+p{margin-top:12px}
.martial-center{text-align:center;margin-top:24px}

/* Subtle brand background: visible enough to bind the page, never competing with content. */
.martial-hero::after,.martial-section--teen::after{
  content:"";position:absolute;pointer-events:none;z-index:0;
  width:360px;height:360px;background:url('assets/logo-full.webp') center/contain no-repeat;opacity:.026
}
.martial-hero::after{right:-90px;top:70px}
.martial-section--teen::after{left:-125px;bottom:-75px}
.martial-hero>.container,.martial-section--teen>.container{position:relative;z-index:1}

/* MAX stays a service logo inside Hwarang's own button language. */
.btn-max{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 22px;
  border-radius:999px;background:var(--paper);color:var(--blue)!important;border:1px solid #d7dce3;
  font-weight:800;text-decoration:none;box-shadow:0 10px 22px rgba(18,36,62,.05);
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease
}
.btn-max:hover{background:#f7f9fc;border-color:#cdd5df;box-shadow:0 14px 28px rgba(18,36,62,.08);transform:translateY(-1px)}
.btn-max img{border-radius:6px}
.btn-outline-light{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;border:1px solid #d7dce3;background:#fff;color:var(--blue);text-decoration:none;font-weight:800;box-shadow:0 8px 18px rgba(18,36,62,.05)}
.btn-outline-light:hover{background:#f7f9fc;border-color:#cdd5df}

/* HERO */
.martial-hero{position:relative;padding:58px 0 70px;background:var(--bg);border-bottom:1px solid rgba(23,39,61,.05)}
.martial-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);gap:52px;align-items:center}
.martial-hero h1{font-size:clamp(2.6rem,5vw,4.45rem);line-height:1.01;margin:10px 0 20px;color:var(--ink)}
.martial-hero__lead{font-size:1.14rem;color:var(--muted);margin:0 0 14px;max-width:690px}
.martial-hero__promise{font-size:1.01rem;margin:0;color:#33455a}
.martial-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 20px}
.martial-trust-row{display:flex;gap:10px;flex-wrap:wrap}
.martial-trust-row span{padding:7px 11px;border-radius:999px;background:#eee8df;color:var(--blue);font-size:.86rem;font-weight:800;border:1px solid rgba(23,39,61,.05)}
.martial-hero__media{margin:0}
.martial-hero__media img{display:block;width:100%;height:auto;border-radius:24px;box-shadow:var(--shadow);background:#eee7de}
.martial-hero__media figcaption{padding:10px 4px 0;color:var(--muted);font-size:.9rem;line-height:1.45}

/* 5-step chooser — diagram, not a row of fake buttons. */
.choice-flow{display:grid;grid-template-columns:repeat(5,1fr);gap:0;position:relative;margin-top:8px}
.choice-flow::before{content:"";position:absolute;left:8%;right:8%;top:18px;height:1px;background:var(--line)}
.choice-step{position:relative;padding:0 14px;background:transparent;text-align:center}
.choice-step__num{position:relative;z-index:1;display:flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:50%;background:var(--primary);color:#fff;font-weight:900;margin:0 auto 14px;box-shadow:0 0 0 7px var(--bg)}
.martial-section--soft .choice-step__num{box-shadow:0 0 0 7px #f1ece5}
.choice-step strong{display:block;font-size:1rem;line-height:1.25}
.choice-step p{font-size:.89rem;line-height:1.5;color:var(--muted);margin:7px 0 0}

.max-help-card{margin:34px auto 0;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;max-width:980px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.max-help-card__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff;border:1px solid var(--line)}
.max-help-card__copy h3{font-size:1.27rem;margin:3px 0 4px}
.max-help-card__copy p{margin:0;color:var(--muted);font-size:.95rem}
.max-help-card__eyebrow{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--primary)}

/* Directions: 4 + 3 on desktop, swipe cards on mobile. */
.direction-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.direction-card{position:relative;flex:0 1 calc(25% - 11px);min-width:220px;padding:24px 20px 22px;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:0 10px 24px rgba(21,51,92,.045)}
.direction-card--featured{border-color:rgba(179,32,29,.28);box-shadow:inset 0 3px 0 var(--primary),0 10px 24px rgba(21,51,92,.045)}
.direction-card__badge{display:inline-block;margin-bottom:11px;padding:4px 0;color:var(--primary);font-size:.7rem;letter-spacing:.05em;text-transform:uppercase;font-weight:900}
.direction-card h3{margin:0 0 12px;font-size:1.18rem}
.direction-card ul{margin:0;padding-left:18px;color:var(--muted);font-size:.9rem;line-height:1.52}
.direction-card li+li{margin-top:6px}
.martial-note{max-width:850px;margin:24px auto 0;padding:16px 0;border-top:1px solid var(--line);text-align:center;color:#4c5e72}

/* Coach: editorial layout. Photo keeps its native composition. */
.coach-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);grid-template-areas:"photo copy" "photo factors";gap:22px 48px;align-items:start}
.coach-layout .martial-photo-card{grid-area:photo}
.coach-copy{grid-area:copy;padding-top:10px}
.coach-factors{grid-area:factors}
.coach-copy h2{font-size:clamp(2rem,4vw,3rem);line-height:1.08;margin:8px 0 16px}
.coach-copy p{color:var(--muted);margin-bottom:0}
.martial-photo-card{margin:0}
.martial-photo-card img{width:100%;height:auto;display:block;border-radius:22px;box-shadow:var(--shadow);background:#eee7de}
.martial-photo-card figcaption{padding:10px 3px 0;font-size:.88rem;line-height:1.45;color:var(--muted)}
.factor-grid{display:flex;flex-wrap:wrap;gap:0;margin:4px 0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.factor-grid span{position:relative;padding:12px 18px 12px 16px;font-weight:800;color:var(--blue)}
.factor-grid span::before{content:"";position:absolute;left:0;top:50%;width:6px;height:6px;border-radius:50%;background:var(--primary);transform:translateY(-50%)}
.martial-split__accent{font-weight:900!important;color:var(--ink)!important;margin:0}

/* Generic split section, including teens. */
.martial-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:50px;align-items:center}
.martial-split--reverse .martial-photo-card{order:2}
.martial-split__copy h2{font-size:clamp(2rem,4vw,3rem);line-height:1.08;margin:8px 0 16px}
.martial-split__copy p{color:var(--muted)}
.martial-split__copy--light h2,.martial-split__copy--light p{color:inherit}
.teen-points{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:22px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.teen-points article{padding:16px 18px 16px 0;background:transparent;border:0;border-radius:0}
.teen-points article+article{padding-left:18px;border-left:1px solid var(--line)}
.teen-points strong{display:block;margin-bottom:5px;color:var(--blue)}
.teen-points p{margin:0!important;font-size:.88rem;color:var(--muted)!important;line-height:1.45}

/* Safety flow + myth/reality as clean infographic. */
.safety-flow{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:4px}
.safety-flow::before{content:"";position:absolute;left:7%;right:7%;top:20px;height:1px;background:var(--line)}
.safety-flow article{position:relative;padding:0 14px;text-align:center;background:transparent}
.safety-flow span{position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;margin:0 auto 12px;border-radius:50%;background:var(--primary);color:#fff;font-weight:900;box-shadow:0 0 0 7px var(--bg)}
.safety-flow strong{display:block;color:var(--blue)}
.safety-flow p{margin:6px 0 0;color:var(--muted);font-size:.9rem;line-height:1.45}
.myth-card{display:grid;grid-template-columns:1fr 1fr;margin-top:34px;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 24px rgba(21,51,92,.045)}
.myth-card>div{padding:24px 26px;background:#fff}
.myth-card>div+div{border-left:1px solid var(--line)}
.myth-card span{font-weight:900;letter-spacing:.08em;font-size:.76rem}
.myth-card__myth span{color:var(--primary)}
.myth-card__reality span{color:var(--blue)}
.myth-card p{margin:8px 0 0;color:#43566c}

/* Halls / checklist / trainers retain cards because they are real selectable entities. */
.martial-halls{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.martial-hall-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 9px 22px rgba(21,51,92,.045)}
.martial-hall-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.martial-hall-card>div{padding:16px}
.martial-hall-card span{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:var(--primary)}
.martial-hall-card h3{font-size:1.04rem;margin:6px 0}
.martial-hall-card p{margin:0 0 8px;color:var(--muted);font-size:.9rem}
.martial-hall-card a{font-weight:900;text-decoration:none;color:var(--blue)}
.hall-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
.hall-max-hint{text-align:center;margin:14px auto 0;color:var(--muted);max-width:760px}
.trial-checklist{display:grid;grid-template-columns:repeat(2,1fr);gap:0;max-width:900px;margin:0 auto;border-top:1px solid var(--line)}
.trial-checklist label{display:flex;gap:13px;align-items:flex-start;padding:17px 8px 17px 0;border-bottom:1px solid var(--line);background:transparent;cursor:pointer}
.trial-checklist label:nth-child(even){padding-left:20px}
.trial-checklist input{width:22px;height:22px;margin-top:2px;accent-color:var(--primary);flex:0 0 auto}
.trial-checklist strong{display:block}
.trial-checklist small{display:block;margin-top:4px;color:var(--muted);font-size:.86rem;line-height:1.45}
.martial-trainers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.martial-trainer{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 9px 22px rgba(21,51,92,.045)}
.martial-trainer img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 18%}
.martial-trainer>div{padding:17px}
.martial-trainer h3{margin:0 0 7px;font-size:1.08rem}
.martial-trainer p{margin:0 0 14px;color:var(--muted);font-size:.9rem;line-height:1.5}
.martial-section--trainers .martial-heading p{color:var(--muted)}

/* FAQ */
.martial-container--faq{max-width:900px}
.martial-faq{border-top:1px solid var(--line)}
.martial-faq details{border-bottom:1px solid var(--line)}
.martial-faq summary{position:relative;cursor:pointer;list-style:none;padding:20px 48px 20px 2px;font-weight:900;font-size:1.02rem}
.martial-faq summary::-webkit-details-marker{display:none}
.martial-faq summary:after{content:'+';position:absolute;right:5px;top:15px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#eee8df;color:var(--blue);font-size:1.35rem}
.martial-faq details[open] summary:after{content:'–'}
.martial-faq details>div{padding:0 45px 18px 2px;color:var(--muted)}
.martial-faq p{margin:0}

/* Final CTA: light editorial end; the normal site footer can follow naturally later. */
.martial-final{background:#f1ece5;color:var(--ink)}
.martial-final__grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.martial-final h2{font-size:clamp(2.2rem,4vw,3.35rem);line-height:1.06;margin:8px 0 18px}
.martial-final p{color:#46596f}
.martial-final figure{margin:0}
.martial-final figure img{display:block;width:100%;height:auto;border-radius:22px;box-shadow:var(--shadow)}
.martial-final__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:24px}
.martial-final__phone{color:var(--blue);font-weight:900;text-decoration:none;padding:10px 6px}

/* Mobile sticky: deliberately quiet, only shown after meaningful reading and hidden near other CTAs. */
.martial-mobile-sticky{display:none}

@media(max-width:980px){
  .martial-hero__grid,.martial-split,.martial-final__grid{grid-template-columns:1fr}
  .martial-hero__media{max-width:760px}
  .martial-split--reverse .martial-photo-card{order:0}
  .choice-flow{grid-template-columns:repeat(2,1fr);gap:24px 0}
  .choice-flow::before{display:none}
  .choice-step:last-child{grid-column:1/-1;max-width:50%;margin:0 auto}
  .direction-card{flex-basis:calc(50% - 10px)}
  .coach-layout{grid-template-columns:1fr;grid-template-areas:"copy" "photo" "factors";gap:22px}
  .martial-halls{grid-template-columns:repeat(2,1fr)}
  .max-help-card{grid-template-columns:auto 1fr}
  .max-help-card .btn-max{grid-column:1/-1;width:100%}
}

@media(max-width:767px){
  .martial-section{padding:52px 0}
  .martial-hero{padding:30px 0 48px}
  .martial-hero__grid{gap:26px}
  .martial-hero__content{order:1}
  .martial-hero__media{order:2}
  .martial-hero__media img,.martial-photo-card img,.martial-final figure img{width:100%;height:auto;border-radius:18px;object-fit:contain}
  .martial-hero__media figcaption,.martial-photo-card figcaption{font-size:.82rem;padding-top:8px}
  .martial-hero h1{font-size:clamp(2.15rem,10vw,2.85rem);line-height:1.03;margin-top:7px}
  .martial-hero__lead{font-size:1.01rem}
  .martial-hero__actions{display:grid;grid-template-columns:1fr;margin:22px 0 16px}
  .martial-hero__actions .btn,.martial-hero__actions .btn-max{width:100%}
  .martial-trust-row{gap:7px}
  .martial-trust-row span{font-size:.76rem;padding:7px 9px}
  .martial-hero::after{width:190px;height:190px;right:-55px;top:190px}
  .martial-section--teen::after{width:180px;height:180px;left:-70px;bottom:20px}

  .martial-heading{text-align:left;margin-bottom:26px}
  .martial-heading h2{font-size:2rem}
  .martial-heading p{font-size:.97rem}

  .choice-flow{display:flex;flex-direction:column;gap:0;margin-left:4px}
  .choice-step,.choice-step:last-child{display:grid;grid-template-columns:44px 1fr;gap:11px;max-width:none;margin:0;padding:0 0 23px;text-align:left;position:relative}
  .choice-step:not(:last-child):before{content:'';position:absolute;left:17px;top:36px;bottom:0;width:1px;background:var(--line)}
  .choice-step__num{width:36px;height:36px;margin:0;box-shadow:0 0 0 5px #f1ece5}
  .choice-step p{margin-top:4px}
  .max-help-card{display:block;padding:20px 0;border-radius:0}
  .max-help-card__icon{width:46px;height:46px;margin-bottom:12px}
  .max-help-card__copy h3{font-size:1.18rem}
  .max-help-card .btn-max{margin-top:15px}

  .direction-cards{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:12px;margin-left:-20px;margin-right:-20px;padding:4px 20px 18px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .direction-cards::-webkit-scrollbar{display:none}
  .direction-card{flex:0 0 82vw;min-width:0;max-width:330px;scroll-snap-align:center;padding:22px 20px;box-shadow:none}
  .martial-note{text-align:left;font-size:.92rem}

  .coach-layout{grid-template-areas:"copy" "photo" "factors";gap:20px}
  .coach-copy{padding-top:0}
  .coach-copy h2,.martial-split__copy h2{font-size:2rem}
  .factor-grid{display:block;margin-top:2px}
  .factor-grid span{display:block;padding:10px 6px 10px 17px;border-bottom:1px solid rgba(231,223,214,.65)}
  .factor-grid span:last-child{border-bottom:0}

  .martial-split{gap:24px}
  .martial-section--teen .martial-split__copy{order:1}
  .martial-section--teen .martial-photo-card{order:2}
  .teen-points{grid-template-columns:1fr;margin:20px 0;border-bottom:0}
  .teen-points article,.teen-points article+article{padding:13px 0;border-left:0;border-bottom:1px solid var(--line)}

  .safety-flow{display:flex;flex-direction:column;gap:0;margin-left:4px}
  .safety-flow::before{display:none}
  .safety-flow article{display:grid;grid-template-columns:46px 1fr;text-align:left;gap:10px;padding:0 0 18px}
  .safety-flow article:not(:last-child)::before{content:"";position:absolute;left:19px;top:40px;bottom:0;width:1px;background:var(--line)}
  .safety-flow span{grid-row:1/3;width:40px;height:40px;margin:0;box-shadow:0 0 0 5px var(--bg)}
  .safety-flow strong{padding-top:7px}
  .safety-flow p{margin:0;grid-column:2}
  .myth-card{grid-template-columns:1fr;border-radius:16px;margin-top:22px}
  .myth-card>div{padding:20px}
  .myth-card>div+div{border-left:0;border-top:1px solid var(--line)}

  .martial-halls{display:flex;overflow-x:auto;gap:12px;margin-left:-20px;margin-right:-20px;padding:2px 20px 14px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .martial-halls::-webkit-scrollbar{display:none}
  .martial-hall-card{min-width:82vw;max-width:330px;scroll-snap-align:center}
  .hall-actions{display:grid;grid-template-columns:1fr}
  .hall-actions .btn,.hall-actions .btn-max{width:100%}
  .hall-max-hint{text-align:left;font-size:.9rem}

  .trial-checklist{grid-template-columns:1fr}
  .trial-checklist label,.trial-checklist label:nth-child(even){padding:15px 0}

  .martial-trainers{display:flex;overflow-x:auto;gap:12px;margin-left:-20px;margin-right:-20px;padding:2px 20px 14px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .martial-trainers::-webkit-scrollbar{display:none}
  .martial-trainer{min-width:78vw;max-width:310px;scroll-snap-align:center}

  .martial-faq summary{padding-top:18px;padding-bottom:18px}
  .martial-final__grid{gap:28px}
  .martial-final h2{font-size:2.12rem}
  .martial-final__actions{display:grid;grid-template-columns:1fr}
  .martial-final__actions .btn,.martial-final__actions .btn-max{width:100%}
  .martial-final__phone{text-align:center}

  .martial-mobile-sticky{position:fixed;z-index:1100;left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom));min-height:50px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:6px;border-radius:15px;background:rgba(255,255,255,.97);border:1px solid rgba(23,39,61,.12);box-shadow:0 10px 28px rgba(18,36,62,.16);transform:translateY(calc(100% + 28px));opacity:0;pointer-events:none;transition:transform .2s ease,opacity .2s ease}
  .martial-mobile-sticky.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
  .martial-mobile-sticky>span{display:none}
  .martial-mobile-sticky a{text-decoration:none;font-weight:900;border-radius:11px;height:38px;display:flex;align-items:center;justify-content:center}
  .martial-mobile-sticky__max{gap:5px;background:#fff;color:var(--blue);padding:0 11px;border:1px solid #d7dce3}
  .martial-mobile-sticky__trial{background:var(--primary);color:#fff;padding:0 13px}
  .martial-mobile-sticky img{border-radius:5px}
}

@media(max-width:420px){
  .martial-hero h1{font-size:2.06rem}
  .martial-mobile-sticky{grid-template-columns:minmax(100px,.45fr) minmax(0,1fr)}
  .martial-mobile-sticky__trial{padding:0 9px}
}

/* === 2026-08-25 refinement: homepage-like background, direction visuals, unified final contact CTA === */
.martial-page{
  background:
    linear-gradient(180deg,#f7f9fc 0,#f1f4f8 430px,var(--bg) 820px,var(--bg) 100%);
}
.martial-hero{background:transparent}

.direction-visual{
  margin-top:34px;
  padding-top:30px;
  border-top:1px solid var(--line);
}
.direction-visual__head{max-width:760px;margin:0 auto 22px;text-align:center}
.direction-visual__head h3{margin:6px 0 8px;font-size:clamp(1.55rem,2.6vw,2.05rem);line-height:1.12;color:var(--ink)}
.direction-visual__head p{margin:0;color:var(--muted)}
.direction-visual__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.direction-visual__item{margin:0;min-width:0}
.direction-visual__item--featured .direction-visual__media{border-color:rgba(190,31,38,.38);box-shadow:0 10px 24px rgba(18,36,62,.10)}
.direction-visual__item--featured figcaption strong{color:var(--primary)}
.direction-visual__media{
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  min-height:190px;padding:6px;border-radius:18px;background:#f3efe9;border:1px solid var(--line)
}
.direction-visual__media img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;border-radius:13px}
.direction-visual__item figcaption{padding:11px 4px 0;color:var(--muted);font-size:.86rem;line-height:1.42}
.direction-visual__item figcaption strong{display:block;color:var(--ink);font-size:1rem;margin-bottom:2px}
.direction-visual__item figcaption span{display:block}

.martial-final__actions{max-width:560px}
.martial-final__actions .btn{min-height:50px}
.martial-phone-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:11px;
  min-height:50px;padding:8px 18px;border-radius:999px;background:#fff;color:var(--blue)!important;
  border:1px solid #d7dce3;text-decoration:none;font-weight:900;box-shadow:0 8px 18px rgba(18,36,62,.05)
}
.martial-phone-btn:hover{background:#f7f9fc;border-color:#cdd5df;box-shadow:0 14px 28px rgba(18,36,62,.08);transform:translateY(-1px)}
.martial-phone-btn svg{flex:0 0 22px;color:var(--primary)}
.martial-phone-btn span{display:flex;flex-direction:column;align-items:flex-start;line-height:1.08}
.martial-phone-btn strong{font-size:.98rem}
.martial-phone-btn small{margin-top:4px;color:#52667e;font-size:.76rem;font-weight:800;letter-spacing:.01em}

@media(max-width:980px){
  .direction-visual__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:767px){
  .martial-page{background:linear-gradient(180deg,#f7f9fc 0,#f1f4f8 300px,var(--bg) 620px,var(--bg) 100%)}
  .direction-visual{margin-top:28px;padding-top:26px}
  .direction-visual__head{text-align:left;margin-bottom:18px}
  .direction-visual__grid{
    display:flex;overflow-x:auto;gap:12px;margin-left:-20px;margin-right:-20px;padding:2px 20px 12px;
    scroll-snap-type:x mandatory;scrollbar-width:none
  }
  .direction-visual__grid::-webkit-scrollbar{display:none}
  .direction-visual__item{flex:0 0 84vw;max-width:340px;scroll-snap-align:center}
  .direction-visual__media{min-height:210px}
  .direction-visual__media img{max-height:250px}

  .martial-final__grid>div{text-align:center}
  .martial-final__actions{max-width:100%;margin-left:auto;margin-right:auto;gap:12px}
  .martial-final__actions .btn,.martial-final__actions .btn-max,.martial-final__actions .martial-phone-btn{width:100%}
  .martial-phone-btn{border-radius:999px}
  .martial-phone-btn span{align-items:center}
  .martial-final figure{margin-top:2px}
}

/* The global site stylesheet paints every tel: .btn red. Keep this final contact as the neutral third channel. */
.btn.martial-phone-btn[href^="tel:"]{
  background:#fff;
  color:var(--blue)!important;
  border-color:#d7dce3;
  box-shadow:0 8px 18px rgba(18,36,62,.05);
}
.btn.martial-phone-btn[href^="tel:"]:hover{
  background:#f7f9fc;
  color:var(--blue)!important;
  border-color:#cdd5df;
  box-shadow:0 14px 28px rgba(18,36,62,.08);
}
